Class Matrix
java.lang.Object
org.verapdf.gf.model.factory.chunks.Matrix
- All Implemented Interfaces:
Cloneable
- Author:
- Maxim Plushchov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidconcatenate(Matrix matrix) static Matrixconcatenate(Matrix a, Matrix b) booleanstatic MatrixgetRotateInstance(double theta, double tx, double ty) doublestatic MatrixgetScaleInstance(double x, double y) doubledoubledoubledoublestatic MatrixgetTranslateInstance(double x, double y) doubledoubledoublegetValue(int row, int column) inthashCode()voidrotate(double theta) voidscale(double sx, double sy) toString()transformBoundingBox(BoundingBox boundingBox) doubletransformX(double x, double y) doubletransformY(double x, double y) voidtranslate(double tx, double ty)
-
Constructor Details
-
Matrix
public Matrix() -
Matrix
-
Matrix
-
Matrix
public Matrix(double a, double b, double c, double d, double e, double f)
-
-
Method Details
-
getValue
public double getValue(int row, int column) -
concatenate
-
translate
public void translate(double tx, double ty) -
scale
public void scale(double sx, double sy) -
rotate
public void rotate(double theta) -
multiply
-
getScaleInstance
-
getTranslateInstance
-
getRotateInstance
-
concatenate
-
clone
-
getScaleX
public double getScaleX() -
getShearY
public double getShearY() -
getShearX
public double getShearX() -
getScaleY
public double getScaleY() -
getTranslateX
public double getTranslateX() -
getTranslateY
public double getTranslateY() -
transformBoundingBox
-
transformX
public double transformX(double x, double y) -
transformY
public double transformY(double x, double y) -
transformVertex
-
getRotationDegree
public double getRotationDegree() -
toString
-
hashCode
public int hashCode() -
equals
-