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

SCREEN

	RGB 0,0,0

	BITMAP 0,0,640,480

		RGB 255,0,0

		ELLIPSE 320,280,200,160

		ELLIPSE 360,240,160,120

		ELLIPSE 400,200,120,80

		ELLIPSE 440,160,80,40

	END BITMAP

END SCREEN

Output

Parameters

Parameter Type Description
X integer The center X position
Y integer The center Y position
WIDTH integer The width of the ellipse
HEIGHT integer The height of the ellipse

See also