Package | ardisia.utils |
Class | public class GeomUtils |
Inheritance | GeomUtils Object |
Method | Defined By | ||
---|---|---|---|
getRotation(matrix:Matrix):Number [static]
Given the provided transform matrix, returns the rotation in degrees. | GeomUtils | ||
getScale(matrix:Matrix):Point [static]
Given the provided transform matrix, returns the scaleX and scaleY as a
Point object. | GeomUtils | ||
getSkew(matrix:Matrix):Point [static]
Given the provided transform matrix, returns the skewX and skewY as a
Point object. | GeomUtils | ||
getTranslation(matrix:Matrix):Point [static]
Given the provided transform matrix, returns the translation. | GeomUtils |
getRotation | () | method |
public static function getRotation(matrix:Matrix):Number
Given the provided transform matrix, returns the rotation in degrees.
Note, this value is the same as the x skew.
Parameters
matrix:Matrix — the transform Matrix
|
Number — a Number of degrees
|
getScale | () | method |
public static function getScale(matrix:Matrix):Point
Given the provided transform matrix, returns the scaleX and scaleY as a Point object.
Parameters
matrix:Matrix — the transform Matrix
|
Point — Point of x and y scale
|
getSkew | () | method |
public static function getSkew(matrix:Matrix):Point
Given the provided transform matrix, returns the skewX and skewY as a Point object.
x skew is the same as rotation.
Parameters
matrix:Matrix — the transform Matrix
|
Point — Point of x and y skew
|
getTranslation | () | method |
public static function getTranslation(matrix:Matrix):Point
Given the provided transform matrix, returns the translation.
Parameters
matrix:Matrix — the transform Matrix
|
Point — Point of x and y translation
|