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