Constructs a new Matrix2d object.
Rest
...value: ConstructorArgThe values to initialize the matrix with.
Gets the tx component of the matrix.
The tx component of the matrix.
Gets the ty component of the matrix.
The ty component of the matrix.
return true if the two matrices are identical
the other matrix
true if both are equals
Set the matrix to the specified value.
Rest
...values: [number, number, number, number, number, number] | [number, number, number, number, number, number, number, number, number]The matrix components.
Reference to this object for method chaining
Multiplies the current transformation with the matrix described by the arguments of this method.
a component
b component
c component
d component
e component
f component
Reference to this object for method chaining
translate the matrix position on the horizontal and vertical axis
the x coordindates or a vector to translate the matrix by
Optional
y: numberthe y coordindates to translate the matrix by
Reference to this object for method chaining
a Matrix2d Object.
the identity matrix and parameters position :