add_spline method
add_spline
Adds a cubic Bézier curve to the animation spline.
Returns
The current instance of AnimationSplineBuilder for method chaining.
def add_spline(self, x1, y1, x2, y2):
...
Parameter | Type | Description |
---|---|---|
x1 | float | The x-coordinate of the first control point. |
y1 | float | The y-coordinate of the first control point. |
x2 | float | The x-coordinate of the second control point. |
y2 | float | The y-coordinate of the second control point. |
See Also
- module
aspose.svg.builder
- class
AnimationSplineBuilder