/// <summary> /// It creates a new SVG Polygon element. /// </summary> /// <param name="parent">Parent element. If null the element is added under the root.</param> /// <returns>New element created.</returns> public SvgPolygon AddPolygon(SvgElement parent) { var poly = new SvgPolygon(this); AddElement(parent, poly); return(poly); }
/// <summary> /// It creates a new SVG Polygon element. /// </summary> /// <param name="parent">Parent element. If null the element is added under the root.</param> /// <returns>New element created.</returns> public SvgPolygon AddPolygon(SvgElement parent) { var poly = new SvgPolygon(this); AddElement(parent, poly); return poly; }