[]
        
(Showing Draft Content)

C1.Pdf.C1PdfDocument.FillDonut

FillDonut Method

FillDonut(Color, RectangleF, SizeF, float, float)

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

Declaration
public void FillDonut(Color color, RectangleF rc, SizeF inner, float startAngle, float sweepAngle)
Public Sub FillDonut(color As Color, rc As RectangleF, inner As SizeF, startAngle As Single, sweepAngle As Single)
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.

SizeF inner

The size structure that represents the inner radiuses.

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.