예제 #1
0
        /// <summary>
        /// It creates a new SVG Text element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgText AddText(SvgElement parent)
        {
            var txt = new SvgText(this);

            AddElement(parent, txt);

            return(txt);
        }
예제 #2
0
        /// <summary>
        /// It creates a new SVG Text element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgText AddText(SvgElement parent)
        {
            var txt = new SvgText(this);

            AddElement(parent, txt);

            return txt;
        }