ELLIPSE

This is an experimental feature that may change in future versions.
It is provided for compatibility with the Windows version of BBC BASIC and to enhance the code readibility of the Z80 version.

A statement which draws an outline ellipse or filled ellipse. ELLIPSE is followed by the X and Y coordinates of the centre of the ellipse, the horizontal radius and the vertical radius, in that order. To draw a filled ellipse use ELLIPSE FILL.

The graphics origin (X=0, Y=0) is normally the bottom-left of the screen. The origin can be changed using the VDU 29 command. See the Graphics section for more details.

The ellipse is drawn in the current graphics foreground colour. This colour can be changed using the GCOL statement.

ELLIPSE x,y,w,h is equivalent to MOVE x,y : PLOT 0,w,0 : PLOT 193,0,h.

ELLIPSE FILL x,y,w,h is equivalent to MOVE x,y : PLOT 0,w,0 : PLOT 201,0,h.

ELLIPSE 200,300,40,50
ELLIPSE FILL 300,400,100,80

Syntax

Associated Keywords