FabGL
ESP32 VGA Controller and Graphics Library
|
void fabgl::CanvasClass::swapRectangle | ( | int | X1, |
int | Y1, | ||
int | X2, | ||
int | Y2 | ||
) |
Swap pen and brush colors of the specified rectangle.
X1 | Top left horizontal coordinate. |
Y1 | Top left vertical coordiante. |
X2 | Bottom right horizontal coordinate. |
Y2 | Bottom right vertical coordiante. |