FabGL
ESP32 Display Controller and Graphics Library

◆ drawEllipse()

void drawEllipse ( int  X,
int  Y,
int  width,
int  height 
)

Draws an ellipse specifying center and size, using current pen color.

Parameters
XHorizontal coordinate of the ellipse center.
YVertical coordinate of the ellipse center.
widthEllipse width.
heightEllipse height.

Example:

// Paint a yellow ellipse
Canvas.setPenColor(Color::BrightYellow);
Canvas.drawEllipse(100, 100, 40, 40);

Definition at line 330 of file canvas.cpp.