Path2DArc Method (Double, Double, Double, Double, Double, Boolean)
Adds an arc to the path which is centered at (x, y) position with radius r 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: 21.3
Syntax
public void Arc(
	double x,
	double y,
	double radius,
	double startAngle,
	double endAngle,
	bool counterclockwise
)

Parameters

x
Type: SystemDouble
The x coordinate of the arc's center.
y
Type: SystemDouble
The y coordinate of the arc's center.
radius
Type: SystemDouble
The arc's radius.
startAngle
Type: SystemDouble
The angle at which the arc starts, measured clockwise from the positive x axis and expressed in radians.
endAngle
Type: SystemDouble
The angle at which the arc ends, measured clockwise from the positive x axis and expressed in radians.
counterclockwise
Type: SystemBoolean
Causes the arc to be drawn counter-clockwise between the two angles. By default it is drawn clockwise.

Implements

ICanvasPathMethodsArc(Double, Double, Double, Double, Double, Boolean)
See Also