- x1
- The left component (in pixels) of the top-left coordinate for the bounding rectangle.
- y1
- The top component (in pixels) of the top-left coordinate for the bounding rectangle.
- x2
- The right component (in pixels) of the bottom-right coordinate for the bounding rectangle.
- y2
- The bottom component (in pixels) of the bottom-right coordinate for the bounding rectangle.
- StartAngle
- The starting angle (in degrees, 0-360) of the arc.
- EndAngle
- The end angle (in degrees, 0-360) of the arc.
- Color
The RGB color of the circles outline. You can use the RGB function to specify the color.
Note: Value specified must be in a valid OLE_COLOR range.
Draws an elliptical arc. The center of the arc is the center of the bounding rectangle specified by x1, y1, x2 and y2. The starting and end points of the arc are determined by the startAngle and endAngle values. The arc is drawn in a counterclockwise direction.
The width of the line used to draw the arc depends on the setting of the DrawWidth property. The way the arc is drawn on the background depends on the setting of the DrawMode and DrawStyle properties.
This method draws into the control's DIB.