Exemplo n.º 1
0
        /// <summary>
        /// It creates a new SVG Group element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgGroup AddGroup(SvgElement parent)
        {
            var grp = new SvgGroup(this);

            AddElement(parent, grp);

            return(grp);
        }
Exemplo n.º 2
0
        /// <summary>
        /// It creates a new SVG Group element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgGroup AddGroup(SvgElement parent)
        {
            var grp = new SvgGroup(this);

            AddElement(parent, grp);

            return grp;
        }