GC.setFillRule

Sets the receiver's fill rule to the parameter, which must be one of <code>SWT.FILL_EVEN_ODD</code> or <code>SWT.FILL_WINDING</code>.

@param rule the new fill rule

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the rule is not one of <code>SWT.FILL_EVEN_ODD</code> or <code>SWT.FILL_WINDING</code></li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

@since 3.1

class GC
void
setFillRule
(
int rule
)

Meta