ClipPathBuilder class
ClipPathBuilder class
A builder class for constructing CSS clip-path values. This class provides methods to define clip paths using basic shapes, external references, or geometry boxes. It allows for the creation of complex clipping paths in a structured and readable manner.
The ClipPathBuilder type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Constructs a new instance of ClipPathBuilder |
Methods
| Method | Description |
|---|---|
| clip_source_id | Sets the clip path to reference an external source. |
| none | Sets the clip path to ’none’, effectively disabling clipping. |
| circle | Defines a circular clip path. |
| ellipse | Defines an elliptical clip path. |
| rectangle | Defines a rectangular clip path with optional rounded corners. |
| polygon | Defines a polygonal clip path. |
| geometry_box | Sets the geometry box for the clip path. |
| build | Builds the clip path value as a string. |
See Also
- module
aspose.svg.builder