SvgTextSpan.cs 715 Bytes
Newer Older
davescriven's avatar
davescriven committed
1
2
3
using System;
using System.ComponentModel;
using System.Collections.Generic;
4
using System.Drawing.Drawing2D;
davescriven's avatar
davescriven committed
5
6
7
8
9
using System.Linq;
using System.Text;

namespace Svg
{
10
    [SvgElement("tspan")]
11
    public class SvgTextSpan : SvgTextBase
davescriven's avatar
davescriven committed
12
    {
13
14
15
16
        public override SvgElement DeepCopy()
        {
            return DeepCopy<SvgTextSpan>();
        }
17

18
19
20
21
22
23
24
25
        public override SvgElement DeepCopy<T>()
        {
            var newObj = base.DeepCopy<T>() as SvgTextSpan;
            newObj.X = this.X;
            newObj.Y = this.Y;
            newObj.Dx = this.Dx;
            newObj.Dy = this.Dy;
            newObj.Text = this.Text;
26

27
28
            return newObj;
        }
29

30

davescriven's avatar
davescriven committed
31
32
    }
}