/// <summary> /// It creates a new SVG Marker element. /// </summary> /// <param name="parent">Parent element. If null the element is added under the root.</param> /// <returns>New element created.</returns> public SvgMarker AddMarker() { SvgDefs defs = this.AddDefs(); SvgMarker marker = new SvgMarker(this); AddElement(defs, marker); return(marker); }
/// <summary> /// </summary> /// <returns>New element created.</returns> public SvgDefs AddDefs() { if (this.defs == null) { this.defs = new SvgDefs(this); AddElement(null, defs); } return(defs); }