GC.drawRoundRectangle

Draws the outline of the round-cornered rectangle specified by the arguments, using the receiver's foreground color. The left and right edges of the rectangle are at <code>x</code> and <code>x + width</code>. The top and bottom edges are at <code>y</code> and <code>y + height</code>. The <em>roundness</em> of the corners is specified by the <code>arcWidth</code> and <code>arcHeight</code> arguments, which are respectively the width and height of the ellipse used to draw the corners.

@param x the x coordinate of the rectangle to be drawn @param y the y coordinate of the rectangle to be drawn @param width the width of the rectangle to be drawn @param height the height of the rectangle to be drawn @param arcWidth the width of the arc @param arcHeight the height of the arc

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

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

Meta