[]
        
(Showing Draft Content)

C1.Pdf.C1PdfDocument.DrawDonut

DrawDonut Method

DrawDonut(Pen, RectangleF, SizeF, float, float)

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

Declaration
public void DrawDonut(Pen pen, RectangleF rc, SizeF inner, float startAngle, float sweepAngle)
Public Sub DrawDonut(pen As Pen, rc As RectangleF, inner As SizeF, startAngle As Single, sweepAngle As Single)
Parameters
Type Name Description
Pen pen

GrapeCity.Documents.Drawing.Pen object that determines the color, width, and style of 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.