FabGL
ESP32 Display Controller and Graphics Library
|
void fillEllipse | ( | int | X, |
int | Y, | ||
int | width, | ||
int | height | ||
) |
Fills an ellipse specifying center and size, using current brush color.
X | Horizontal coordinate of the ellipse center. |
Y | Vertical coordinate of the ellipse center. |
width | Ellipse width. |
height | Ellipse height. |
Example:
// Paint a filled yellow ellipse Canvas.setBrushColor(Color::BrightYellow); Canvas.fillEllipse(100, 100, 40, 40); // Paint a yellow ellipse with blue border Canvas.setPenColor(Color::BrightBlue); Canvas.setBrushColor(Color::BrightYellow); Canvas.fillEllipse(100, 100, 40, 40); Canvas.drawEllipse(100, 100, 40, 40);
Definition at line 320 of file canvas.cpp.