FabGL
ESP32 Display Controller and Graphics Library

◆ getWidth()

int fabgl::Canvas::getWidth ( )
inline

Determines the canvas width in pixels.

This is equivalent to VGA Controller viewport width.

Returns
The canvas width in pixels.