ellipse
Description
Draws an ellipse (oval) to the screen. By default, the first two parameters set the location of the center of the ellipse, and the third and fourth parameters set the shape's width and height. The origin may be changed with the ellipseMode function.
Syntax
ellipse(x, y, w, h)
Parameters
Parameter | Description |
---|---|
x | x-coordinate of the center of ellipse |
y | y-coordinate of the center of ellipse |
w | width of the ellipse |
h | height of the ellipse |