Ellipse

Deprecated. Do not use in new code.

(Engine-Level Function)

Description: Draws an ellipse on the screen.
Returns: Nothing
Usage: Steady State only.
Function Groups: Graphics
Related to: Arc | Ball | Circle | GUIArc | GUIChord | GUIEllipse | GUIPie
Format: Ellipse(X, Y, XRadius, YRadius, Color, Width)
Parameters:  
X   
Required. Any numeric expression giving the X coordinate of the center of the ellipse on the screen.
Y   
Required. Any numeric expression giving the Y coordinate of the center of the ellipse on the screen.
XRadius   
Required. Any numeric expression giving the radius of the ellipse along the X axis specified in units of X screen coordinates.
YRadius   
Required. Any numeric expression giving the radius of the ellipse along the Y axis specified in units of Y screen coordinates.
Color   
Required. A numeric expression giving the color of the ellipse.
Width   
Required. 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.
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:

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.