Svg.SvgContentNode.DeepCopy C# (CSharp) Method

DeepCopy() public method

Create a deep copy of this ISvgNode.
public DeepCopy ( ) : ISvgNode
return ISvgNode
        public ISvgNode DeepCopy()
        {
            // Since strings are immutable in C#, we can just use the same reference here.
            return new SvgContentNode { Content = this.Content };
        }
SvgContentNode