arc_to method
arc_to
Adds an arc to the path with the given control points and radius, connected to the previous point by a straight line.
def arc_to(self, x1, y1, x2, y2, radius):
...
Parameter | Type | Description |
---|---|---|
x1 | float | x-axis coordinates for the first control point. |
y1 | float | y-axis coordinates for the first control point. |
x2 | float | x-axis coordinates for the second control point. |
y2 | float | y-axis coordinates for the second control point. |
radius | float | The arc’s radius. |
See Also
- module
aspose.html.dom.canvas
- class
Path2D