Class: TransformStatic

Tiny. TransformStatic

Transform that takes care about its versions

new Tiny.TransformStatic()

Extends

Members

localTransformTiny.Matrix

The local matrix transform

The pivot point of the displayObject that it rotates around

The coordinate of the object relative to the local coordinates of the parent.

rotationnumber

The rotation of the object in radians.

The scale factor of the object.

The skew amount, on the x and y axis.

updateWorldTransform

Updates the values of the object and applies the parent's transform.

worldTransformTiny.Matrix

The global matrix transform. It can be swapped temporarily by some functions like getLocalBounds()

Methods

Decomposes a matrix and sets the transforms properties based on it.

Name Type Description
matrix Tiny.Matrix

The matrix to decompose

Updates only local matrix

updateTransform(parentTransform)

Updates the values of the object and applies the parent's transform.

Name Type Description
parentTransform Tiny.Transform

The transform of the parent of this object

Documentation generated by JSDoc 3.4.3 on Fri Jul 09 2021 19:32:27 GMT+0800 (CST)