FabGL
ESP32 Display Controller and Graphics Library

◆ rect()

Rect rect ( uiOrigin  origin)

Determines the window bounding box.

To set window position use uiApp.moveWindow(), to set window size use uiApp.resizeWindow() or uiApp.reshapeWindow().

Parameters
originDecides the origin of returned rectangle
Returns
The window bounding box

Definition at line 1564 of file fabui.cpp.