GC.getClipping

Returns the bounding rectangle of the receiver's clipping region. If no clipping region is set, the return value will be a rectangle which covers the entire bounds of the object the receiver is drawing on.

@return the bounding rectangle of the clipping region

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

  1. Rectangle getClipping()
    class GC
    getClipping
    (
    )
  2. void getClipping(Region region)

Meta