" />

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

0