Что делает Graphics.setXORMode (Color) в простых терминах?

Вот что я читал об этом, но не могу точно понять, что он делает:

One way to implement rubber-banding is to draw in XOR mode. You set XOR mode by calling the setXORMode() method for a graphics context and passing a color to it — usually the background color. In this mode the pixels are not written directly to the screen. The color in which you are drawing is combined with the color of the pixel currently displayed together with a third color that you specify, by exclusive ORing them together, and the resultant pixel color is written to the screen. The third color is usually set to be the background color, so the color of the pixel that is written is the result of the following operation:

resultant_Color = foreground_color^background_color^current_color

Я знаю, как работает XORing, но не знаю, что означает вышеприведенный абзац. Пожалуйста, объясни мне это

Ответы на вопрос(1)

Ваш ответ на вопрос