MaskBuilder class
MaskBuilder class
A builder class for creating CSS mask properties. This class allows for the construction of complex mask styles using various properties such as mask source, position, size, repeat style, and more. The resulting string can be used in CSS to define the masking behavior of an element.
The MaskBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of MaskBuilder |
Methods
Method | Description |
---|---|
position | Sets the position of the mask. |
position | Sets the position of the mask using horizontal and vertical values. |
position | Sets the position of the mask using a predefined horizontal position and a vertical value. |
position | Sets the position of the mask using a predefined vertical position and a horizontal value. |
position | Sets the position of the mask using predefined horizontal and vertical positions. |
position | Sets the position of the mask using edges and values. |
mask_source_id | Sets the mask source ID for the mask. |
background_size | Sets the background size for the mask. |
repeat_style | Sets the repeat style of the mask. |
geometry_box | Sets the geometry box of the mask. |
geometry_box_noclip | Sets the geometry box of the mask with no clipping. |
compositing_operator | Sets the compositing operator for the mask. |
build | Builds the mask property value as a string. |
See Also
- module
aspose.svg.builder