FabGL
ESP32 Display Controller and Graphics Library

◆ setPenColor() [3/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 191 of file canvas.cpp.