Canvas.drawBackground

Fills the interior of the rectangle specified by the arguments, with the receiver's background.

@param gc the gc where the rectangle is to be filled @param x the x coordinate of the rectangle to be filled @param y the y coordinate of the rectangle to be filled @param width the width of the rectangle to be filled @param height the height of the rectangle to be filled

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the gc is null</li> <li>ERROR_INVALID_ARGUMENT - if the gc has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@since 3.2

class Canvas
override
void
drawBackground
(
,
int x
,
int y
,
int width
,
int height
)

Meta