Path2D.Ellipse
Contents
[
Hide
]Ellipse(double, double, double, double, double, double, double)
Adds an ellipse to the path which is centered at (x, y) position with the radii radiusX and radiusY starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).
public void Ellipse(double x, double y, double radiusX, double radiusY, double rotation,
double startAngle, double endAngle)
Parameter | Type | Description |
---|---|---|
x | Double | The x axis of the coordinate for the ellipse’s center. |
y | Double | The y axis of the coordinate for the ellipse’s center. |
radiusX | Double | The ellipse’s major-axis radius. |
radiusY | Double | The ellipse’s minor-axis radius. |
rotation | Double | The rotation for this ellipse, expressed in radians. |
startAngle | Double | The starting point, measured from the x axis, from which it will be drawn, expressed in radians. |
endAngle | Double | The end ellipse’s angle to which it will be drawn, expressed in radians. |
See Also
- class Path2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML
Ellipse(double, double, double, double, double, double, double, bool)
Adds an ellipse to the path which is centered at (x, y) position with the radii radiusX and radiusY starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).
public void Ellipse(double x, double y, double radiusX, double radiusY, double rotation,
double startAngle, double endAngle, bool anticlockwise)
Parameter | Type | Description |
---|---|---|
x | Double | The x axis of the coordinate for the ellipse’s center. |
y | Double | The y axis of the coordinate for the ellipse’s center. |
radiusX | Double | The ellipse’s major-axis radius. |
radiusY | Double | The ellipse’s minor-axis radius. |
rotation | Double | The rotation for this ellipse, expressed in radians. |
startAngle | Double | The starting point, measured from the x axis, from which it will be drawn, expressed in radians. |
endAngle | Double | The end ellipse’s angle to which it will be drawn, expressed in radians. |
anticlockwise | Boolean | An optional boolean which, if true, draws the ellipse anticlockwise (counter-clockwise), otherwise in a clockwise direction. |
See Also
- class Path2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML