FabGL
ESP32 Display Controller and Graphics Library

◆ rect()

Rect fabgl::uiWindow::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