Click or drag to resize

IGraphicsPath.AddArc Method

Adds an arc into the specified rectangle

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void AddArc(
	float x,
	float y,
	float width,
	float height,
	float startAngle,
	float sweepAngle
)

Parameters

x
Type: System.Single
The x coordinate of the upper left of the arc
y
Type: System.Single
The y coordinate of the upper left of the arc
width
Type: System.Single
Width of the rectangle containing the arc
height
Type: System.Single
Height of the rectangle containing the arc
startAngle
Type: System.Single
Start angle to begin the arc, in degrees
sweepAngle
Type: System.Single
Sweep angle (positive or negative) to specify how long the arc is, in degrees
Remarks
If the current figure is not closed, it will connect with the start of the arc. The current position will be moved to the ending point of the arc
See Also