I've read and re-read Ivors explanation for the use of the setXORMode()
method in the SketchView class but I'm still having trouble grasping how it
works and why we use it here.
I understand that it bitwise XORs the color values of the background, the
drawing color and a third color. I have also experimented by commenting it
out, the effect is that the screen does not seem to get redrawn until the
mouse is released.
Can anyone offer a simple explanation of how it works and why we use it here
- for the slow people in the class :) ?