Graphics.DrawArc Method (Pen, Rectangle, Single, Single)

Draws an arc representing a portion of an ellipse specified by a Rectangle structure.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void DrawArc(
	Pen pen,
	Rectangle rect,
	float startAngle,
	float sweepAngle
)

Parameters

pen

Type: Aurigma.GraphicsMill.Drawing.Pen

A Pen that determines the color, width, and style of the arc.
rect

Type: System.Drawing.Rectangle

A Rectangle structure that defines the boundaries of the ellipse.
startAngle

Type: System.Single

The angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle

Type: System.Single

An angle between first and second radial line which defines a sector on the ellipse.

Remarks

Arc is a part of the ellipse. In this method arc is defined with a tightest bounding rectangle of this ellipse and two angles which specify necessary ellipse sectors.

See Also

Reference