Esempio n. 1
0
        /// <summary>
        /// It creates a new SVG Desc element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgDesc AddDesc(SvgElement parent)
        {
            var desc = new SvgDesc(this);

            AddElement(parent, desc);

            return desc;
        }
Esempio n. 2
0
        /// <summary>
        /// It creates a new SVG Desc element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgDesc AddDesc(SvgElement parent)
        {
            var desc = new SvgDesc(this);

            AddElement(parent, desc);

            return(desc);
        }