コード例 #1
0
        /// <summary>
        /// It creates a new SVG Ellipse element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgEllipse AddEllipse(SvgElement parent)
        {
            var ellipse = new SvgEllipse(this);

            AddElement(parent, ellipse);

            return(ellipse);
        }
コード例 #2
0
ファイル: SvgDocument.cs プロジェクト: MelvinLervick/r3d
        /// <summary>
        /// It creates a new SVG Ellipse element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgEllipse AddEllipse(SvgElement parent)
        {
            var ellipse = new SvgEllipse(this);

            AddElement(parent, ellipse);

            return ellipse;
        }