GC.setForegroundPattern

Sets the foreground pattern. The default value is <code>null</code>. <p> This operation requires the operating system's advanced graphics subsystem which may not be available on some platforms. </p> @param pattern the new foreground pattern

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the parameter 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 Pattern @see #getAdvanced @see #setAdvanced

@since 3.1

class GC
void
setForegroundPattern

Meta