FabGL
ESP32 Display Controller and Graphics Library

◆ setBrushColor() [1/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 208 of file canvas.cpp.