Fills a pie shape 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 FillPie(
	Color color,
	Rect rc,
	double startAngle,
	double sweepAngle
)
Visual Basic
Public Sub FillPie ( _
	color As Color, _
	rc As Rect, _
	startAngle As Double, _
	sweepAngle As Double _
)

Parameters

color
Type: System.Windows.Media..::..Color
Color object that determines the color used to fill the pie shape.
rc
Type: System.Windows..::..Rect
Rect structure that represents the bounding rectangle of the ellipse that contains the pie shape.
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