Draws an arc defined by an ellipse specified by a Rect structure and two radial lines.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public void DrawArc(
	Pen pen,
	Rect rc,
	double startAngle,
	double sweepAngle
)
Visual Basic
Public Sub DrawArc ( _
	pen As Pen, _
	rc As Rect, _
	startAngle As Double, _
	sweepAngle As Double _
)

Parameters

pen
Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the arc.
rc
Type: System.Windows..::..Rect
Rect structure that represents the bounding rectangle of the ellipse that contains the arc.
startAngle
Type: System..::..Double
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Type: System..::..Double
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.

See Also