[]
        
(Showing Draft Content)

C1.C1Pdf.C1PdfDocument.FillPie

FillPie Method

FillPie(Color, RectangleF, float, float)

Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

Declaration
public void FillPie(Color color, RectangleF rc, float startAngle, float sweepAngle)
Parameters
Type Name Description
Color color

The color used to fill the pie shape.

RectangleF rc

The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.

float startAngle

Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.

float 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.

FillPie(Brush, RectangleF, float, float)

Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

Declaration
public void FillPie(Brush brush, RectangleF rc, float startAngle, float sweepAngle)
Parameters
Type Name Description
Brush brush

The object that determines the color used to fill the pie shape.

RectangleF rc

The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.

float startAngle

Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.

float 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.