mojo.graphics.Canvas.DrawOval - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.mojo.graphics.Canvas.DrawOval

Method DrawOval:Void( x:monkey:monkey.types.Float,y:monkey:monkey.types.Float,width:monkey:monkey.types.Float,height:monkey:monkey.types.Float )

Draws an oval.

Draws an oval in the current Color using the current BlendMode.

The oval vertex coordinates are also transform by the current Matrix.

Parameters
x x Top left x coordinate for the oval.
y y Top left y coordinate for the oval.
width width Width of the oval.
height height Height of the oval.