Gamalto

Fork me on GitHub

Object Transform Overview

Gamalto. Transform

new Gamalto.Transform()

Transformation information object.

Extends

Members

alpha :number

Transparency level of the next drawn element.

flipX :boolean

Whether to flip horizontally the next drawn element.

flipY :boolean

Whether to flip vertically the next drawn element.

tag :object

inherited

Utility property to exchange data between objects.

Inherited From

Methods

clone() Gamalto.Transform

override

Clones the object.

Overrides
Returns
  • Copy of the current object.

copy(transform)

Copies a tranformation state into the current object.

Parameters
Name Type Description
transform Gamalto.Transform

Object to be copied.

restore()

Restores the previously saved state.

save()

Saves the current transformation state.

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)