GC.setClipping

Sets the area of the receiver which can be changed by drawing operations to the path specified by the argument. <p> This operation requires the operating system's advanced graphics subsystem which may not be available on some platforms. </p>

@param path the clipping path.

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the path has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> <li>ERROR_NO_GRAPHICS_LIBRARY - if advanced graphics are not available</li> </ul>

@see Path @see #getAdvanced @see #setAdvanced

@since 3.1

Meta