ellipse method
Contents
[
Hide
]ellipse
Adds an ellipse to the current 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 x-radius of the ellipse. |
radius_y | float | The y-radius of the ellipse. |
rotation | float | The rotation of the ellipse in radians. |
start_angle | float | The starting angle of the ellipse in radians. |
end_angle | float | The ending angle of the ellipse in radians. |
ellipse
Adds an ellipse to the current 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 x-radius of the ellipse. |
radius_y | float | The y-radius of the ellipse. |
rotation | float | The rotation of the ellipse in radians. |
start_angle | float | The starting angle of the ellipse in radians. |
end_angle | float | The ending angle of the ellipse in radians. |
anticlockwise | bool | Specifies whether the ellipse should be drawn in the anticlockwise direction. |
See Also
- module
aspose.svg.rendering
- class
ICanvas