Matrix.add(…)⚓➭
Adds the given matrix to existing one
Parameters
- a number
- b number
- c number
- d number
- e number
- f number
or
Parameters
- matrix object Matrix
Adds the given matrix to existing one
or
Returns an inverted version of the matrix
Returns: object Matrix
Returns a copy of the matrix
Returns: object Matrix
Translate the matrix
Scales the matrix
1
resulting in no changex
applies to both axes.)Default cx, cy is the middle point of the element.
Rotates the matrix
Returns x coordinate for given point after transformation described by the matrix. See also Matrix.y
Returns: number x
Returns y coordinate for given point after transformation described by the matrix. See also Matrix.x
Returns: number y
Finds determinant of the given matrix.
Returns: number determinant
Splits matrix into primitive transformations
Returns: object in format:
Returns transform string that represents given matrix
Returns: string transform string