BOX
X1, Y1, X2, Y2
Requires arcade library
The ability to draw a box 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
BOX 200,220,340,340
RGB 255,0,0,90
BOX 240,180,380,300
RGB 255,0,0,95
BOX 280,140,420,260
RGB 255,0,0,98
BOX 320,100,460,220
RGB 255,0,0,99
BOX 360,60,500,180
END BITMAP
Output
Parameters
Parameter | Type | Description |
---|---|---|
X1 | integer | X1 or the start X position |
Y1 | integer | Y1 or the start Y position |
X2 | integer | X2 or the end X position |
Y2 | integer | Y2 or the end Y position |