Mask Builder
Builder for SVG <mask> element. This class provides methods to set attributes and add child elements specific to the <mask> element.
Functions
Link copied to clipboard
Adds a <circle> child element to the <mask> element.
Link copied to clipboard
Sets the fill-opacity attribute of the SVG element.
Link copied to clipboard
Sets the maskContentUnits attribute of the <mask> element, which specifies the coordinate system for the content within the mask.
Link copied to clipboard
Adds a <rect> child element to the <mask> 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.