FabGL
ESP32 Display Controller and Graphics Library

◆ setOrientation()

void setOrientation ( TFTOrientation  value,
bool  force = false 
)

Set display orientation and rotation.

Parameters
valueDisplay orientation and rotation
force

Example:

// rotate by 180 degrees
DisplayController.setOrientation(fabgl::TFTOrientation::Rotate180);

Definition at line 331 of file TFTControllerGeneric.cpp.