Constructors
constructor
- new Matrix(a?: number, b?: number, c?: number, d?: number, tx?: number, ty?: number): Matrix
-
Parameters
-
Optional a: number
-
Optional b: number
-
Optional c: number
-
Optional d: number
-
Optional tx: number
-
Optional ty: number
Properties
a
a: number
b
b: number
c
c: number
d
d: number
tx
tx: number
ty
ty: number
Static IDENTITY
Static TEMP_MATRIX
Methods
append
-
Parameters
apply
-
Parameters
applyInverse
-
Parameters
clone
-
copy
-
Parameters
decompose
-
Parameters
fromArray
- fromArray(array: number[]): void
-
Parameters
Returns void
identity
-
invert
-
prepend
-
Parameters
rotate
-
Parameters
scale
- scale(x: number, y: number): Matrix
-
Parameters
set
- set(a: number, b: number, c: number, d: number, tx: number, ty: number): Matrix
-
Parameters
-
a: number
-
b: number
-
c: number
-
d: number
-
tx: number
-
ty: number
setTransform
- setTransform(x: number, y: number, pivotX: number, pivotY: number, scaleX: number, scaleY: number, rotation: number, skewX: number, skewY: number): Matrix
-
Parameters
-
x: number
-
y: number
-
pivotX: number
-
pivotY: number
-
scaleX: number
-
scaleY: number
-
rotation: number
-
skewX: number
-
skewY: number
toArray
- toArray(transpose?: boolean, out?: number[]): number[]
-
Parameters
-
Optional transpose: boolean
-
Optional out: number[]
Returns number[]
translate
- translate(x: number, y: number): Matrix
-
Parameters