FabGL
ESP32 Display Controller and Graphics Library
|
void fillRectangle | ( | Rect const & | rect | ) |
Fills a rectangle using the current brush color.
rect | Rectangle coordinates. |
Example:
// Paint a filled yellow rectangle Canvas.setBrushColor(Color::BrightYellow); Canvas.fillRectangle(Rect(10, 10, 100, 100));
Definition at line 287 of file canvas.cpp.