overlayRect

fnvoid overlayRect(int x, int y, int w, int h) nothrow @nogc

Draws an XOR overlay rectangle.

This draws a rectangle using XOR mode, which can be erased by drawing the same rectangle again or by calling overlayClear().

Parameters

xX coordinate
yY coordinate
wWidth
hHeight