SVG/Source/NonSvgElement.cs

29 строки
648 B
C#

namespace Svg
{
public partial class NonSvgElement : SvgElement
{
public NonSvgElement()
{
}
public NonSvgElement(string elementName, string elementNamespace)
{
ElementName = elementName;
ElementNamespace = elementNamespace;
}
public override SvgElement DeepCopy()
{
return DeepCopy<NonSvgElement>();
}
/// <summary>
/// Publish the element name to be able to differentiate non-svg elements.
/// </summary>
public string Name
{
get { return ElementName; }
}
}
}