Skip to content

Bitmap

Bitmap is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. bitmap:width().

Methods

Function Description Since
width() Return the bitmap width. 1.1.0
height() Return the bitmap height. 1.1.0
rotate() Return the rotated bitmap. 1.5.9