Archive of the Gamebuino Classic wiki, recovered from the Wayback Machine (capture 2020-08-11). Read-only.
gb.display.drawBitmap
Description
Used to display a bitmap that is a byte array onto the screen.
Syntax
gb.display.drawBitmap(x,y,bitmap,rotation,flip);
Parameters
- x: the x coordinate to draw the bitmap
- y: the y coordinate to draw the bitmap
- bitmap: a byte array
- rotation (optional): rotation of the bitmap
NOROT, ROTCCW, ROT180, ROTCW - flip (optional): how the bitmap is flipped
NOFLIP, FLIPH, FLIPV, FLIPVH
Returns
none
Example