SvgTitle.cs 549 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace Svg
{
    [SvgElement("title")]
    public class SvgTitle : SvgElement
Eric Domke's avatar
Eric Domke committed
10
11
12
13
14
15
    {
        public override string ToString()
        {
            return this.Content;
        }

Eric Domke's avatar
Eric Domke committed
16
17
        public override SvgElement DeepCopy()
        {
18
            return DeepCopy<SvgTitle>();
Eric Domke's avatar
Eric Domke committed
19
        }
20

Eric Domke's avatar
Eric Domke committed
21
22
        public override SvgElement DeepCopy<T>()
        {
23
            var newObj = base.DeepCopy<T>() as SvgTitle;
Eric Domke's avatar
Eric Domke committed
24
25
            return newObj;
        }
26
27
28

    }
}