PathBuilder class
PathBuilder class
Builder class for creating SVG path data strings.
The PathBuilder type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Constructs a new instance of PathBuilder |
Methods
| Method | Description |
|---|---|
| m | Adds a ‘Move To’ command to the path data. |
| mr | Adds a relative ‘Move To’ command to the path data. |
| l | Adds a ‘Line To’ command to the path data. |
| lr | Adds a relative ‘Line To’ command to the path data. |
| c | Adds a ‘Cubic Bezier Curve’ command to the path data. |
| cr | Adds a relative ‘Cubic Bezier Curve’ command to the path data. |
| q | Adds a ‘Quadratic Bezier Curve’ command to the path data. |
| qr | Adds a relative ‘Quadratic Bezier Curve’ command to the path data. |
| a | Adds an ‘Elliptical Arc Curve’ command to the path data. |
| ar | Adds a relative ‘Elliptical Arc Curve’ command to the path data. |
| h | Adds a ‘Horizontal Line To’ command to the path data. |
| hr | Adds a relative ‘Horizontal Line To’ command to the path data. |
| v | Adds a ‘Vertical Line To’ command to the path data. |
| vr | Adds a relative ‘Vertical Line To’ command to the path data. |
| s | Adds a ‘Smooth Cubic Bezier Curve To’ command to the path data. |
| sr | Adds a relative ‘Smooth Cubic Bezier Curve To’ command to the path data. |
| t | Adds a ‘Smooth Quadratic Bezier Curve To’ command to the path data. |
| tr | Adds a relative ‘Smooth Quadratic Bezier Curve To’ command to the path data. |
| z | Adds a ‘Close Path’ command to the path data. |
| add_path_segment | Adds a custom path segment to the path data. |
| build | Builds the path data string. |
See Also
- module
aspose.svg.builder