Constructors
constructor
- new Matrix(...arg: any[]): Matrix
Methods
multiply
- multiply(matrix2: Matrix): this
multiplyAppend
- multiplyAppend(mx: Matrix): this
multiplyPrepend
- multiplyPrepend(mx: Matrix): this
scale
- scale(scaleX: number, scaleY: number): Matrix
-
Parameters
-
scaleX: number
-
scaleY: number
transformPoints
- transformPoints(points: Point[]): void
translate
- translate(x: number, y: number): Matrix