ComponentOne PDF for .NET
FillPie(Brush,RectangleF,Single,Single) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > FillPie Method : FillPie(Brush,RectangleF,Single,Single) Method
The object that determines the color used to fill the pie shape.
The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.
Syntax
'Declaration
 
Public Overloads Sub FillPie( _
   ByVal brush As System.Drawing.Brush, _
   ByVal rc As System.Drawing.RectangleF, _
   ByVal startAngle As System.Single, _
   ByVal sweepAngle As System.Single _
) 
public void FillPie( 
   System.Drawing.Brush brush,
   System.Drawing.RectangleF rc,
   System.float startAngle,
   System.float sweepAngle
)

Parameters

brush
The object that determines the color used to fill the pie shape.
rc
The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.
startAngle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
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

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List