Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CIRCLE Statement
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Draws a circle or an ellipse on the screen; not available when forms are
showing.
CIRCLE [STEP] (x!,y!),radius![,[color%] [,[start!] [,[end!] [,aspect!]]]]
■ STEP Specifies that coordinates are relative to the current
graphics cursor position
■ (x!,y!) Coordinates for the center of the circle or ellipse
■ radius! Radius of the circle or ellipse in the units of the current
coordinate system, determined by the most recent SCREEN,
VIEW, and WINDOW statements
■ color% Color attribute that sets the circle's color
■ start! Starting angle for the arc, in radians
■ end! Ending angle for the arc, in radians
■ aspect! Ratio of the length of the y axis to the length of the
x axis, used to draw ellipses; default is the value required
to draw a round circle in the current screen mode
See Also
◄Color Attributes and Values (SCREEN)► ◄Graphics Command Summary►