Creates a new matrix from a 3x3 column major matrix.
Matrix2D.fromColumnMajor(double r0c0,
double r1c0,
double r2c0,
double r0c1,
double r1c1,
double r2c1,
double r0c2,
double r1c2,
double r2c2)
Creates a new matrix from a 3x3 column major matrix.
Creates a new matrix from a 3x3 row major matrix.
Matrix2D.fromRowMajor(double r0c0,
double r0c1,
double r0c2,
double r1c0,
double r1c1,
double r1c2,
double r2c0,
double r2c1,
double r2c2)
Creates a new matrix from a 3x3 row major matrix.
Gets the currently applied transformation of this image.
Calculates the inverse of this matrix.
Matrix2D.mirror(double angleRadians)
Mirrors the coordinate system at the (0, 0) coordinate.
Matrix2D.mirrorAt(double x,
double y,
double angleRadians)
Mirrors the coordinate system at the specified coordinate.
Multiplies two matrices with each other.
Matrix2D.rotate(double angleRadians)
Rotates the coordinate system at the (0, 0) coordinate.
Matrix2D.rotateAt(double x,
double y,
double radians)
Rotates the coordinate system at the specified coordinate.
Matrix2D.scale(double xScale,
double yScale)
Scales the coordinate system at the (0, 0) coordinate.
Matrix2D.scaleAt(double x,
double y,
double scaleX,
double scaleY)
Scales the coordinate system from the specified coordinates.
Matrix2D.set(int row,
int column,
double value)
Creates a new matrix and changes the value in the matrix at the specified location.
Matrix2D.shear(double shearX,
double shearY)
Shears the coordinate system from the (0, 0) coordinate.
Matrix2D.shearAt(double x,
double y,
double shearX,
double shearY)
Shears the coordinate system at the specified coordinate.
Moves the coordinate system in the x and y direction.