PaintBuilder class
PaintBuilder class
A builder class for creating paint values for SVG elements.
The PaintBuilder type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Constructs a new instance of PaintBuilder |
Methods
| Method | Description |
|---|---|
| none | Sets the paint to ’none'. |
| color | Sets the paint to a specific color. |
| paint_server_id | |
| context_fill | Sets the paint to ‘context-fill’, which uses the current fill color of the context. |
| context_stroke | Sets the paint to ‘context-stroke’, which uses the current stroke color of the context. |
| build | Builds the final paint value. |
See Also
- module
aspose.svg.builder