(Obsolete)
Description: This statement draws an ellipse on the screen.
Returns: Nothing
Usage: Steady State
Format: Ellipse(X, Y, XRadius, YRadius, Color, Width)
Parameters: X { numeric } { required } { no default: }
Any numeric expression giving the X coordinate of the center of the ellipse on the screen.
Y { numeric } { required } { no default: }
Any numeric expression giving the Y coordinate of the center of the ellipse on the screen.
XRadius { numeric } { required } { no default: }
Any numeric expression giving the radius of the ellipse along the X axis specified in units of X screen coordinates.
YRadius { numeric } { required } { no default: }
Any numeric expression giving the radius of the ellipse along the Y axis specified in units of Y screen coordinates.
Color { numeric } { required } { no default: }
A numeric expression giving the color of the ellipse.
Width { numeric } { required } { no default: }
Any numeric expression giving the width of the ellipse 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:
Ellipse(400, 300 { Screen coordinates of ellipse center },
200 { X radius in screen coordinates },
100 { Y radius in screen coordinates },
6 { Brown color },
20 { Width of elliptical line in pixels });
This displays a brown ellipse in the middle of the screen.
See Also:
Arc | Ball | Circle | GUIArc | GUIChord | GUIEllipse | GUIPie