SvgTextSpan.cs 604 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
		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;
23
24
			newObj.Dx = this.Dx;
			newObj.Dy = this.Dy;
25
26
27
28
29
			newObj.Text = this.Text;

			return newObj;
		}

30

davescriven's avatar
davescriven committed
31
32
    }
}