Draws a pie shape defined by an ellipse specified by a Rect structure and two radial lines.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void DrawPie( Pen pen, Rect rc, double startAngle, double sweepAngle ) |
Visual Basic |
---|
Public Sub DrawPie ( _ 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 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.