|
FabGL
ESP32 VGA Controller and Graphics Library
|
| void fabgl::CanvasClass::drawEllipse | ( | int | X, |
| int | Y, | ||
| int | width, | ||
| int | height | ||
| ) |
Draw an ellipse specifying center and size, using current pen color.
| X | Horizontal coordinate of the ellipse center. |
| Y | Vertical coordinate of the ellipse center. |
| width | Ellipse width. |
| height | Ellipse height. |
Example:
// Paint a yellow ellipse Canvas.setPenColor(Color::BrightYellow); Canvas.drawEllipse(100, 100, 40, 40);