ELLIPSE

This command will draw an ellipse on screen using the current ink color.

  Syntax
ELLIPSE X,Y,X Radius,Y Radius
  Parameters
X
Integer
This value specifies the center of the ellipse x coordinate.
Y
Integer
This value specifies the center of the ellipse y coordinate.
X Radius
Integer
This value specifies the horizontal radius of the ellipse in degrees.
Y Radius
Integer
This value specifies the vertical radius of the ellipse in degrees.

  Returns

This command does not return a value.

  Description

The command requires the X-Radius, Y-Radius and the Coordinates that will represent the center of the ellipse to be drawn. You can also draw to a bitmap, by using the SET CURRENT BITMAP command.

  Example Code
ELLIPSE 320,240,100,50
WAIT KEY
  See also

BASIC2D Commands Menu
Index