FabGL
ESP32 VGA Controller and Graphics Library
|
void fabgl::CanvasClass::setScrollingRegion | ( | int | X1, |
int | Y1, | ||
int | X2, | ||
int | Y2 | ||
) |
Define the scrolling region.
A scrolling region is the rectangle area where CanvasClass.scroll() method can operate.
X1 | Top left horizontal coordinate. |
Y1 | Top left vertical coordiante. |
X2 | Bottom right horizontal coordinate. |
Y2 | Bottom right vertical coordiante. |