GraphicsDrawArc Method (Pen, Single, Single, Single, Single, Single, Single)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.5.0.0 (20.05.0)
Syntax
C#
public void DrawArc(
	Pen pen,
	float x,
	float y,
	float width,
	float height,
	float startAngle,
	float sweepAngle
)

Parameters

pen
Type: System.DrawingPen
Pen that determines the color, width, and style of the arc.
x
Type: SystemSingle
The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
y
Type: SystemSingle
The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
width
Type: SystemSingle
Width of the rectangle that defines the ellipse.
height
Type: SystemSingle
Height of the rectangle that defines the ellipse.
startAngle
Type: SystemSingle
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle
Type: SystemSingle
Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.
See Also