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 | |
clone():Matrix
clone
|
Matrix | |
Link a Matrix to current Matrix, in order to make geometry effects on these two composed more effective.
|
Matrix | |
copy
|
Matrix | |
identity():Matrix
Set each Matrix property a value to trigger null transform.
|
Matrix | |
invert():Matrix
Apply an invert transformation of original Matrix.
|
Matrix | |
rotate(angle:Number):Matrix
Rotate the Matrix Object.
|
Matrix | |
scale(sx:Number, sy:Number):Matrix
Scale the Matrix.
|
Matrix | |
set(a:Number, b:Number, c:Number, d:Number, tx:Number, ty:Number)
set
|
Matrix | |
transformPoint(point:Object, round:Boolean, returnNew:Boolean):Object
Return the result after apply a Matrix displaying transform on the point.
|
Matrix | |
translate(dx:Number, dy:Number):Matrix
Translate the Matrix alongside x axis and y axis by dx and dy.
|
Matrix |