Click or drag to resize

GraphicsPathAddArc Method

Adds an arc into the specified rectangle

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

Parameters

x
Type: SystemSingle
The x coordinate of the upper left of the arc
y
Type: SystemSingle
The y coordinate of the upper left of the arc
width
Type: SystemSingle
Width of the rectangle containing the arc
height
Type: SystemSingle
Height of the rectangle containing the arc
startAngle
Type: SystemSingle
Start angle to begin the arc, in degrees
sweepAngle
Type: SystemSingle
Sweep angle (positive or negative) to specify how long the arc is, in degrees

Implements

IGraphicsPathAddArc(Single, Single, Single, Single, Single, Single)
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