Gamalto

Fork me on GitHub

Object IndexedImage Overview

Gamalto. IndexedImage

new Gamalto.IndexedImage()

Creates a new image with indexed palette.

Extends

Members

height :number

readonly

Height of the image in pixels.

palette :Gamalto.Palette

readonly

Image palette.

src :string

readonly

Source url of the image.

tag :object

inherited

Utility property to exchange data between objects.

Inherited From

width :number

readonly

Width of the image in pixels.

Methods

addModule(module)

static

Adds a new image decoder to the list of avalaible decoding modules.

Parameters
Name Type Description
module object

Module descriptor.

setBufferMode(mode)

static

Sets the type of buffer to be used to render the image.

Parameters
Name Type Description
mode Gamalto.BaseCanvas

Type of the canvas buffer.

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.

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)