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