Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
- pen
- System.Drawing.Pen that determines the color, width, and style of the arc.
- x
- The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
- y
- The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
- width
- Width of the rectangle that defines the ellipse.
- height
- Height of the rectangle that defines 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.