FabGL
ESP32 Display Controller and Graphics Library

◆ swapRectangle()

void swapRectangle ( int  X1,
int  Y1,
int  X2,
int  Y2 
)

Swaps pen and brush colors of the specified rectangle.

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

Definition at line 311 of file canvas.cpp.