Beispiel #1
0
        /// <summary>
        /// It creates a new SVG Line element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgLine AddLine(SvgElement parent)
        {
            var line = new SvgLine(this);

            AddElement(parent, line);

            return(line);
        }
Beispiel #2
0
        /// <summary>
        /// It creates a new SVG Line element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgLine AddLine(SvgElement parent)
        {
            var line = new SvgLine(this);

            AddElement(parent, line);

            return line;
        }