[]
Draws an arc defined by an ellipse specified by a rectangle structure and two radial lines.
public void DrawArc(Pen pen, Rect rc, double startAngle, double sweepAngle)
Public Sub DrawArc(pen As Pen, rc As Rect, startAngle As Double, sweepAngle As Double)
| Type | Name | Description |
|---|---|---|
| Pen | pen | Pen object that determines the color, width, and style of the arc. |
| Rect | rc | A rectangle structure that represents the bounding rectangle of the ellipse that contains the arc. |
| double | startAngle | Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. |
| double | sweepAngle | Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape. |
All coordinates are expressed in points, measured from the upper-left corner of the page.