ESP32 Display Controller and Graphics Library

◆ invertRectangle() [1/2]

void invertRectangle ( int  X1,
int  Y1,
int  X2,
int  Y2 

Inverts a rectangle.

The Not logic operator is applied to pixels inside the rectangle.

X1Top left horizontal coordinate.
Y1Top left vertical coordiante.
X2Bottom right horizontal coordinate.
Y2Bottom right vertical coordiante.

Definition at line 296 of file canvas.cpp.