(Obsolete)
Description: This statement draws a circle on the screen.
Returns: Nothing
Usage: Steady State
Format: Circle(X, Y, Radius, Color, Width)
Parameters: X { numeric } { required } { no default: }
Any numeric expression giving the X coordinate for the center of the circle on the screen.
Y { numeric } { required } { no default: }
Any numeric expression giving the Y coordinate for the centre of the circle on the screen.
Radius { numeric } { required } { no default: }
Any numeric expression giving the radius of the circle specified in units of X screen coordinates.
Color { numeric } { required } { no default: }
Any numeric expression giving the color of the circle.
Width { numeric } { required } { no default: }
Any numeric expression giving the width of the circle wall in units of X screen coordinates. The width is always rounded to result in an odd number of pixels on the screen. The minimum width displayed will be 1 pixel.
Comments: This statement has been superseded by the GUIEllipse function and is maintained for backwards compatibility only.
It is a non-destructive graphic statement that exclusive OR's with the existing background.
Example:
Circle(XLoc(), YLoc() { Center coordinates follow mouse },
100 { Radius in screen coordinates },
11 { Light cyan color },
1 { Line width in screen coordinates });
This draws a circle around the mouse crosshairs that moves wherever the mouse is moved.
See Also:
Arc | Ball | Box | Ellipse | GUIEllipse