GC.drawFocus

Draws a rectangle, based on the specified arguments, which has the appearance of the platform's <em>focus rectangle</em> if the platform supports such a notion, and otherwise draws a simple rectangle in the receiver's foreground color.

@param x the x coordinate of the rectangle @param y the y coordinate of the rectangle @param width the width of the rectangle @param height the height of the rectangle

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

@see #drawRectangle(int, int, int, int)

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

Meta