Draws an arc representing a portion of an ellipse specified by a System.Drawing.RectangleF structure.
- pen
- System.Drawing.Pen that determines the color, width, and style of the arc.
- rect
- System.Drawing.RectangleF structure that defines the boundaries of the ellipse.
- startAngle
- Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
- sweepAngle
- Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.
This method draws an arc that is a portion of the perimeter of an ellipse. The ellipse is defined by the boundaries of a rectangle. The arc is the portion of the perimeter of the ellipse between the startAngle parameter and the startAngle + sweepAngle parameters.