Difference between revisions of "Gb.display.drawBitmap"
From Gamebuino Wiki
Hamhock666 (talk | contribs) (made the page yo) |
(→Example: new drawBitmap example added) |
||
Line 18: | Line 18: | ||
== Example == | == Example == | ||
− | <gistit>https://github.com/Rodot/Gamebuino/blob/ | + | <gistit>https://github.com/Rodot/Gamebuino/blob/beta/libraries/Gamebuino/examples/5.Reference/display/bitmap/bitmap.ino</gistit> |
== See also == | == See also == |
Latest revision as of 2015-01-28T13:24:04
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