a2Ellipse

This command will draw an unfilled ellipse on the screen.

  Syntax
a2Ellipse x, y, xradius, yradius, color
  Parameters
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.

  Returns

This command does not return a value.

  Description

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

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

a2Ellipse x, y, xradius, yradius, color

WAIT KEY
  See also

a2FillEllipse
Advanced 2D Index
Main Menu