GC.setBackground

Sets the background color. The background color is used for fill operations and as the background color when text is drawn.

@param color the new background color for the receiver

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the color is null</li> <li>ERROR_INVALID_ARGUMENT - if the color has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

class GC
void
setBackground

Meta