cr method
cr
Adds a relative ‘Cubic Bezier Curve’ command to the path data.
Returns
The current PathBuilder instance.
def cr(self, x1, y1, x2, y2, x, y):
...
Parameter | Type | Description |
---|---|---|
x1 | float | The x-coordinate of the first control point, relative to the current position. |
y1 | float | The y-coordinate of the first control point, relative to the current position. |
x2 | float | The x-coordinate of the second control point, relative to the current position. |
y2 | float | The y-coordinate of the second control point, relative to the current position. |
x | float | The x-coordinate of the end point of the curve, relative to the current position. |
y | float | The y-coordinate of the end point of the curve, relative to the current position. |
See Also
- module
aspose.svg.builder
- class
PathBuilder