Fills the interior of a circular or elliptical arc within the specified rectangular area, with the receiver's background color.
The resulting arc begins at startAngle
and extends for arcAngle
degrees, using the current color. Angles are interpreted such that 0 degrees is at the 3 o'clock position. A positive value indicates a counter-clockwise rotation while a negative value indicates a clockwise rotation.
The center of the arc is the center of the rectangle whose origin is (x
, y
) and whose size is specified by the width
and height
arguments.
The resulting arc covers an area width + 1
pixels wide by height + 1
pixels tall.
@param x the x coordinate of the upper-left corner of the arc to be filled
@param y the y coordinate of the upper-left corner of the arc to be filled
@param width the width of the arc to be filled
@param height the height of the arc to be filled
@param startAngle the beginning angle
@param arcAngle the angular extent of the arc, relative to the start angle
@exception SWTException
- ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed
@see #drawArc