CIRCLE

BASin

CIRCLE

Statement/Command

CIRCLE draws a circle on the screen.

How to use CIRCLE

Circle is followed by three numeric values each separated by a comma, for example

80 CIRCLE x,y,z

Each of the three values is rounded to the nearest integer if necessary. CIRCLE then draws a circle on the high resolution graphics grid in the current ink colour. The first two values (x,y) define the horizontal and vertical coordinates of the centre, and the third value (z) defines the length of the radius. The dimensions must be such that the circle does not extend beyond the display area.

CIRCLE is affected by colour statements or commands and may include embedded colour statements with the same effects as PLOT and DRAW.

Example

The command

CIRCLE 128,88,87

draws a circle taking up most of the display area.

Format

  • CIRCLE [statement;] int-num-expr, int-num-expr, int-num-expr

See also

Chapter 17.