Reference+
Name
circle()
Description
Draws a circle to the screen. By default, the first two parameters set the location of the center, and the third sets the shape's width and height. The origin may be changed with the ellipseMode() function.
Examples
circle(224, 184, 220);
Syntax
circle(x, y, extent)
Parameters
x
(float)
x-coordinate of the ellipsey
(float)
y-coordinate of the ellipseextent
(float)
width and height of the ellipse by default
Return
void
Related
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.