|
a2Ellipse
This command will draw an unfilled ellipse on the screen.
a2Ellipse x, y, xradius, yradius, color
x
Float
This value specifies the X coordinate of the center of the ellipse.
y
Float
This value specifies the Y coordinate of the center of the ellipse.
xradius
Float
This value specifies the horizontal radius of the ellipse.
yradius
Float
This value specifies the vertical radius of the ellipse.
color
Integer
This value is a 32 bit integer specifying alpha, red, green, and blue color values for the ellipse.
This command does not return a value.
This command will draw an unfilled ellipse on the screen. The ellipse is anti-aliased.
x = screen width()/2
y = screen height()/2
xradius = 100
yradius = 75
color = 0xFFFFFFFF
a2Ellipse x, y, xradius, yradius, color
WAIT KEY
a2FillEllipse
Advanced 2D Index
Main Menu
|