Method: Processing::GraphicsContext#circle

Defined in:
lib/processing/graphics_context.rb

#circle(x, y, extent) ⇒ nil Also known as: drawCircle

Draws a circle.

Parameters:

  • x (Numeric)

    horizontal position of the shape

  • y (Numeric)

    vertical position of the shape

  • extent (Numeric)

    width and height of the shape

Returns:

  • (nil)

    nil

See Also:



1573
1574
1575
# File 'lib/processing/graphics_context.rb', line 1573

def circle(x, y, extent)
  ellipse x, y, extent, extent
end