Module hilo/geom/Matrix
Requires
hilo/core/Class
Source
Matrix.js
Matrix class is a transforming matrix, which declare how points in one coordinate maped to another coordinate.
Method | Defined | |
---|---|---|
Matrix(a:Number, b:Number, c:Number, d:Number, tx:Number, ty:Number)
Constructor
|
Matrix | |
|
Matrix | |
identity():Matrix
|
Matrix | |
invert():Matrix
|
Matrix | |
rotate(angle:Number):Matrix
|
Matrix | |
scale(sx:Number, sy:Number):Matrix
|
Matrix | |
transformPoint(point:Object, round:Boolean, returnNew:Boolean):Object
|
Matrix | |
translate(dx:Number, dy:Number):Matrix
|
Matrix |