Skip to content

circle

Create an immutable circle graphic for self.graph. Available as circle after import_globals() or mv.graphics.circle.

Parameters

  • radius — A positive radius.
  • options? — A table with color.
local ball = circle(20, {color = {255, 190, 80}})

Related: rect, mv.graphics.sprite.

See the drawing guide for more examples and limits.