FabGL
ESP32 Display Controller and Graphics Library

◆ setBrushColor() [2/3]

void setBrushColor ( Color  color)

Sets brush (background) color using a color name.

Parameters
colorThe color name.

Example:

 // Set blue brush
 Canvas.setBrushColor(Color::BrightBlue);

Definition at line 200 of file canvas.cpp.