Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

EllipseC(X, Y, MajorAxis, MinorAxis, Color)

Draws an ellipse centered at the specified X, Y position using the specified major and minor axes and specified color.

See the Ellipse function for a description of an ellipse.

Parameters

X - Horizontal center of ellipse
Y - Vertical center of ellipse
MajorAxis - Size of major axis
MinorAxis - Size of minor axis
Color - Color of ellipse

Examples

BASIC

CALL EllipseC(160, 100, 50, 40, 1)

PASCAL

EllipseC(160, 100, 50, 40, 1);