fillCircle

This will fill a circle on the screen.

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

Draws a filled circle, at the location given.

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

/**
 * Draws a range of filled circles.
 */
onEachFrame() do
    x = 20
    10.times() do |i|
        diameter = 10 + 7*i
        fillCircle( x, 190, diameter, true )
        
        x = x + 20 + diameter
    end
end

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

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

See also

How Alignment Works - drawCircle - drawEllipse - fillEllipse