Symbol Builder
Builder for SVG <symbol> element. This class provides methods to set attributes specific to the <symbol> element, such as viewBox and preserveAspectRatio, and to add child elements like <rect>, <circle>, <path>, and <g>.
Functions
Adds a <circle> child element to the <symbol> element.
Sets the fill-opacity attribute of the SVG element.
Adds a <path> child element to the <symbol> element.
Sets the preserveAspectRatio attribute of the <symbol> element, which specifies how the aspect ratio of the symbol is preserved.
Adds a <rect> child element to the <symbol> element.
Sets the stroke-dasharray attribute of the SVG element.
Sets the stroke-dashoffset attribute of the SVG element.
Sets the stroke-linecap attribute of the SVG element.
Sets the stroke-linejoin attribute of the SVG element.
Sets the stroke-opacity attribute of the SVG element.
Sets the stroke-width attribute of the SVG element.