GC.setXORMode

If the argument is <code>true</code>, puts the receiver in a drawing mode where the resulting color in the destination is the <em>exclusive or</em> of the color values in the source and the destination, and if the argument is <code>false</code>, puts the receiver in a drawing mode where the destination color is replaced with the source color value. <p> Note that this mode in fundamentally unsupportable on certain platforms, notably Carbon (Mac OS X). Clients that want their code to run on all platforms need to avoid this method. </p>

@param xor if <code>true</code>, then <em>xor</em> mode is used, otherwise <em>source copy</em> mode is used

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

@deprecated this functionality is not supported on some platforms

class GC
void
setXORMode
(
bool xor
)

Meta