Path2DEllipse Method (Double, Double, Double, Double, Double, Double, Double, Boolean)
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).

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax
public void Ellipse(
	double x,
	double y,
	double radiusX,
	double radiusY,
	double rotation,
	double startAngle,
	double endAngle,
	bool anticlockwise
)

Parameters

x
Type: SystemDouble
The x axis of the coordinate for the ellipse's center.
y
Type: SystemDouble
The y axis of the coordinate for the ellipse's center.
radiusX
Type: SystemDouble
The ellipse's major-axis radius.
radiusY
Type: SystemDouble
The ellipse's minor-axis radius.
rotation
Type: SystemDouble
The rotation for this ellipse, expressed in radians.
startAngle
Type: SystemDouble
The starting point, measured from the x axis, from which it will be drawn, expressed in radians.
endAngle
Type: SystemDouble
The end ellipse's angle to which it will be drawn, expressed in radians.
anticlockwise
Type: SystemBoolean
An optional boolean which, if true, draws the ellipse anticlockwise (counter-clockwise), otherwise in a clockwise direction.

Implements

ICanvasPathMethodsEllipse(Double, Double, Double, Double, Double, Double, Double, Boolean)
See Also