FabGL
ESP32 Display Controller and Graphics Library
|
void setScrollingRegion | ( | int | X1, |
int | Y1, | ||
int | X2, | ||
int | Y2 | ||
) |
Defines the scrolling region.
A scrolling region is the rectangle area where Canvas.scroll() method can operate.
X1 | Top left horizontal coordinate. |
Y1 | Top left vertical coordiante. |
X2 | Bottom right horizontal coordinate. |
Y2 | Bottom right vertical coordiante. |
Definition at line 145 of file canvas.cpp.