kytschBASIC

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

ARC
X, Y, START ANGLE, END ANGLE, RADIUS, ID (optional)

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

Example

SCREEN

	RGB 0,0,0

	BITMAP 0,0,640,480

		RGB 255,0,0



		REM Noticing I'm using a variable here as they are supported by the args.

		DEF x% = 320

		ARC x%, 160, 25, 155, 150

		ARC 320, 310, -155, -25, 150

		ARC 265, 235, -75, 75, 40

		ARC 375, 235, 105, -105, 40

	END BITMAP

END SCREEN

Output

Parameters

Parameter Optional Type Description
X No integer or variable X position
Y No integer or variable Y position
START ANGLE No integer or variable Start angle of the arc, can have negative values
END ANGLE No integer or variable End angle of the arc, can have negative values
RADIUS No integer or variable Radius of the arc
ID Yes string or variable ID to help identify or style the ARC

See also