Gamalto

Fork me on GitHub

Object IndexedBitmap Overview

Gamalto. IndexedBitmap

new Gamalto.IndexedBitmap(source)

Creates a framework compatible bitmap with indexed palette.

Parameters
Name Type Description
source Gamalto.indexedImage

Image to be used by the bitmap object.

Extends

Members

height :number

inherited readonly

Height of the bitmap in pixels.

Inherited From

tag :object

inherited

Utility property to exchange data between objects.

Inherited From

width :number

inherited readonly

Width of the bitmap in pixels.

Inherited From

Methods

animate(timer) boolean

Animates the palette of the bitmap image.

Parameters
Name Type Description
timer Gamalto.Timer

Timer object from which the elpased time will be read.

Returns
  • Whether the palette has changed.

clone() object

inherited abstract

Clones the object. It will be shallow copy unless otherwise specfied.

Inherited From
Returns
  • New instance of the object. Defaults to null.

refresh()

Forces a refresh of the bitmap.

toString() string

inherited abstract

Converts the object into a string.

Inherited From
Returns
  • string

Documentation generated by JSDoc 3.3.2 on Sun Sep 13 2015 20:13:31 GMT+0200 (CEST)