dojox/gfx/decompose (version 1.10)

Summary

Decompose a 2D matrix into translation, scaling, and rotation components.

This function decompose a matrix into four logical components: translation, rotation, scaling, and one more rotation using SVD. The components should be applied in following order:

[translate, rotate(angle2), scale, rotate(angle1)]

Usage

decompose(matrix);
Parameter Type Description
matrix dojox/gfx/matrix.Matrix2D

a 2D matrix-like object

See the dojox/gfx/decompose reference documentation for more information.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!