kytschBASIC

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

ARC
X, Y, START ANGLE, END ANGLE, RADIUS
Requires arcade library

The ability to draw an arc 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

	ARC 320,160,25,155,150
	ARC 320,310,-155,-25,150
	ARC 265,235,-75,75,40
	ARC 375,235,105,-105,40
BITMAP CLOSE

Output

Parameters

Parameter Type Description
XintegerX position
YintegerY position
START ANGLEintegerStart angle of the arc, can have negative values
END ANGLEintegerEnd angle of the arc, can have negative values
RADIUSintegerRadius of the arc

See also