SvgTextSpan.cs 606 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
17
18
19
20
21
22
23

		public override SvgElement DeepCopy()
		{
			return DeepCopy<SvgTextSpan>();
		}

		public override SvgElement DeepCopy<T>()
		{
			var newObj = base.DeepCopy<T>() as SvgTextSpan;
			newObj.X = this.X;
			newObj.Y = this.Y;
24
25
			newObj.Dx = this.Dx;
			newObj.Dy = this.Dy;
26
27
28
29
30
			newObj.Text = this.Text;

			return newObj;
		}

31

davescriven's avatar
davescriven committed
32
33
    }
}