ellipse method
Contents
[
Hide
]ellipse
Adds an elliptical arc to the path.
def ellipse(self, x, y, radius_x, radius_y, rotation, start_angle, end_angle):
...
Parameter | Type | Description |
---|---|---|
x | float | The x-coordinate of the center of the ellipse. |
y | float | The y-coordinate of the center of the ellipse. |
radius_x | float | The radius of the ellipse along the x-axis. |
radius_y | float | The radius of the ellipse along the y-axis. |
rotation | float | The rotation angle of the ellipse in radians. |
start_angle | float | The starting angle of the arc in radians. |
end_angle | float | The ending angle of the arc in radians. |
ellipse
Adds an elliptical arc to the path.
def ellipse(self, x, y, radius_x, radius_y, rotation, start_angle, end_angle, anticlockwise):
...
Parameter | Type | Description |
---|---|---|
x | float | The x-coordinate of the center of the ellipse. |
y | float | The y-coordinate of the center of the ellipse. |
radius_x | float | The radius of the ellipse along the x-axis. |
radius_y | float | The radius of the ellipse along the y-axis. |
rotation | float | The rotation angle of the ellipse in radians. |
start_angle | float | The starting angle of the arc in radians. |
end_angle | float | The ending angle of the arc in radians. |
anticlockwise | bool | Specifies whether the arc should be drawn in the anticlockwise direction. |
See Also
- module
aspose.svg.rendering
- class
IPath