drawCircle

This will draw the outline of a circle to the screen.

drawCircle( x, y, diameter, isCentred = false )

Draws the outline of a circle, at the location given.

'diameter' is used for both the width and height of the circle.

/** Draws lots of circle outlines, within each other */
onEachFrame() do
    10.times() do |i|
        drawCircle( 200, 180, 20 + 20*i, true )
    end
end

drawCircle( x, y, diameter, xAlign, yAlign )

The same 'drawCircle' function, but with x and y alignment options. See the article on How Alignment Works for details.

See also

How Alignment Works - drawEllipse - fillCircle - fillEllipse