a2Circle

This command will draw an unfilled circle on the screen.

  Syntax
a2Circle x, y, radius, color
  Parameters
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.

  Returns

This command does not return a value.

  Description

This command will draw an unfilled circle on the screen. The circle is anti-aliased.

  Example Code
x = screen width()/2
y = screen height()/2
radius = 100
color = 0xFFFFFFFF

a2Circle x, y, radius, color

WAIT KEY
  See also

a2FillCircle
Advanced 2D Index
Main Menu