[]
Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.
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)
| 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. |