FabGL
ESP32 Display Controller and Graphics Library

◆ setPenColor() [2/3]

void setPenColor ( RGB888 const &  color)

Sets pen (foreground) color specifying color components.

Parameters
colorColor RGB888 components.

Example:

 // Set white pen
 Canvas.setPenColor(Color::BrightWhite);

Definition at line 199 of file canvas.cpp.