GC.drawArc

Draws the outline of a circular or elliptical arc within the specified rectangular area. <p> The resulting arc begins at <code>startAngle</code> and extends for <code>arcAngle</code> 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. </p><p> The center of the arc is the center of the rectangle whose origin is (<code>x</code>, <code>y</code>) and whose size is specified by the <code>width</code> and <code>height</code> arguments. </p><p> The resulting arc covers an area <code>width + 1</code> pixels wide by <code>height + 1</code> pixels tall. </p>

@param x the x coordinate of the upper-left corner of the arc to be drawn @param y the y coordinate of the upper-left corner of the arc to be drawn @param width the width of the arc to be drawn @param height the height of the arc to be drawn @param startAngle the beginning angle @param arcAngle the angular extent of the arc, relative to the start angle

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

class GC
void
drawArc
(
int x
,
int y
,
int width
,
int height
,,
)

Meta