Circle
Deprecated. Do not use in new code.
Description: | Draws a circle on the screen. |
Returns: | Nothing |
Usage: ![]() |
Steady State only. |
Function Groups: | Graphics |
Related to: | Arc | Ball | Box | Ellipse | GUIEllipse |
Format: ![]() |
Circle(X, Y, Radius, Color, Width) |
Parameters: |
X |
Required. Any numeric expression giving the X coordinate for the center of the circle on the screen. |
Y |
Required. Any numeric expression giving the Y coordinate for the centre of the circle on the screen. |
Radius |
Required. Any numeric expression giving the radius of the circle specified in units of X screen coordinates. |
Color |
Required. Any numeric expression giving the color of the circle. |
Width |
Required. 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. As of version 11, this is now drawn in the same z-order as other graphics, making it similar to the z-graphics functions. |
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 cross-hairs that moves wherever the mouse is moved.