GC.fillRectangle

Fills the interior of the specified rectangle, using the receiver's background color.

@param rect the rectangle to be filled

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

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

  1. void fillRectangle(int x, int y, int width, int height)
  2. void fillRectangle(Rectangle rect)
    class GC
    void
    fillRectangle

Meta