VOOZH about

URL: https://processing.org/reference/circle_

⇱ circle() / Reference / Processing.org


Reference+
DocumentationReferenceShape2d Primitives

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

Syntax

  • circle(x, y, extent)

Parameters

  • x(float)x-coordinate of the ellipse
  • y(float)y-coordinate of the ellipse
  • extent(float)width and height of the ellipse by default

Return

  • void