GC.setClipping

Sets the area of the receiver which can be changed by drawing operations to the region specified by the argument. Specifying <code>null</code> for the region reverts the receiver's clipping area to its original value.

@param region the clipping region or <code>null</code>

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

Meta