GC.setAntialias

Sets the receiver's anti-aliasing value to the parameter, which must be one of <code>SWT.DEFAULT</code>, <code>SWT.OFF</code> or <code>SWT.ON</code>. Note that this controls anti-aliasing for all <em>non-text drawing</em> operations. <p> This operation requires the operating system's advanced graphics subsystem which may not be available on some platforms. </p>

@param antialias the anti-aliasing setting

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the parameter is not one of <code>SWT.DEFAULT</code>, <code>SWT.OFF</code> or <code>SWT.ON</code></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 #getAdvanced @see #setAdvanced @see #setTextAntialias

@since 3.1

class GC
void
setAntialias
()

Meta