kytschBASIC

Put down that phone!
Please view me on real computer.

ELLIPSE
X, Y, WIDTH, HEIGHT
Requires arcade library

The ability to draw an ellipse on a bitmap and display it on screen as an image.

Example

INCLUDE arcade
RGB 0,0,0
BITMAP 0,0,640,480
	RGB 255,0,0
	ELLIPSE 320,280,200,160

	RGB 255,0,0,90
	ELLIPSE 360,240,160,120

	RGB 255,0,0,95
	ELLIPSE 400,200,120,80

	RGB 255,0,0,98
	ELLIPSE 440,160,80,40
BITMAP CLOSE

Output

Parameters

Parameter Type Description
XintegerThe center X position
YintegerThe center Y position
WIDTHintegerThe width of the ellipse
HEIGHTintegerThe height of the ellipse

See also