Defs Builder
Builder for SVG <defs> element. This class provides methods to add child elements such as <linearGradient>, <radialGradient>, <clipPath>, <mask>, and <symbol>.
Functions
Link copied to clipboard
Sets the fill-opacity attribute of the SVG element.
Link copied to clipboard
Adds a <linearGradient> child element to the <defs> element.
Link copied to clipboard
Adds a <radialGradient> child element to the <defs> element.
Link copied to clipboard
Sets the stroke-dasharray attribute of the SVG element.
Link copied to clipboard
Sets the stroke-dashoffset attribute of the SVG element.
Link copied to clipboard
Sets the stroke-linecap attribute of the SVG element.
Link copied to clipboard
Sets the stroke-linejoin attribute of the SVG element.
Link copied to clipboard
Sets the stroke-opacity attribute of the SVG element.
Link copied to clipboard
Sets the stroke-width attribute of the SVG element.
Link copied to clipboard
Adds a <symbol> child element to the <defs> element.