FabGL
ESP32 VGA Controller and Graphics Library

◆ getWidth()

int fabgl::CanvasClass::getWidth ( )
inline

Return the canvas width in pixels.

This is equivalent to VGA Controller viewport width.

Returns
The canvas width in pixels.