gb.display.drawBitmap

From Gamebuino Wiki
Revision as of 2014-10-18T18:12:26 by Hamhock666 (talk | contribs) (made the page yo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See also