GC.setClipping

Sets the area of the receiver which can be changed by drawing operations to the rectangular area specified by the arguments.

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

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

  1. void setClipping(int x, int y, int width, int height)
    class GC
    void
    setClipping
    (
    int x
    ,
    int y
    ,
    int width
    ,
    int height
    )
  2. void setClipping(Path path)
  3. void setClipping(Rectangle rect)
  4. void setClipping(Region region)

Meta