fillEllipse
This is similar to fillCircle, except it allows you to specify a separate width and height for the circle drawn (which makes it become an ellipse).
fillEllipse( x, y, width, height, isCentred=false )
Draws a filled ellipse at the x/y location given. If 'isCentred' is true, then x/y is the centre of the ellipse. If it is false, then it refers to the top-left corner.
/**
* Draws a range of filled ellipses.
*/
onEachFrame() do
x = 20
10.times() do |i|
diameter = 10 + 7*i
fillEllipse( x, 190, diameter, 100, true )
x = x + 20 + diameter
end
endfillEllipse( x, y, width, height, xAlign, yAlign )
The same 'fillEllipse' function, but with x and y alignment options. See the article on How Alignment Works for details.
