SVGMaskElementBuilder class
SVGMaskElementBuilder class
Builder class for constructing an SVG ‘mask’ element, which is used to define an alpha mask for compositing the current object into the background. This class enables the building of content within the ‘mask’ element and provides methods to set various attributes specific to the ‘mask’ element in SVG.
The SVGMaskElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGMaskElementBuilder |
Methods
Method | Description |
---|---|
build | |
build | |
mask_units | Sets the ‘maskUnits’ attribute of the SVG ‘mask’ element, specifying the coordinate system for the mask’s attributes. |
mask_content_units | Sets the ‘maskContentUnits’ attribute of the SVG ‘mask’ element, specifying the coordinate system for the contents of the mask. |
build_element | Builds and returns an SVGElement instance based on the current configuration of the builder. |
attribute | Sets or updates an attribute on an SVG element. |
See Also
- module
aspose.svg.builder
- class
ISVGElementBuilder