Class Matrix
- java.lang.Object
-
- org.verapdf.gf.model.factory.chunks.Matrix
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Matrixclone()voidconcatenate(Matrix matrix)static Matrixconcatenate(Matrix a, Matrix b)booleanequals(Object obj)static MatrixgetRotateInstance(double theta, double tx, double ty)doublegetRotationDegree()static MatrixgetScaleInstance(double x, double y)doublegetScaleX()doublegetScaleY()doublegetShearX()doublegetShearY()static MatrixgetTranslateInstance(double x, double y)doublegetTranslateX()doublegetTranslateY()doublegetValue(int row, int column)inthashCode()Matrixmultiply(Matrix other)voidrotate(double theta)voidscale(double sx, double sy)StringtoString()BoundingBoxtransformBoundingBox(BoundingBox boundingBox)VertextransformVertex(Vertex v)doubletransformX(double x, double y)doubletransformY(double x, double y)voidtranslate(double tx, double ty)
-
-
-
Method Detail
-
getValue
public double getValue(int row, int column)
-
concatenate
public void concatenate(Matrix matrix)
-
translate
public void translate(double tx, double ty)
-
scale
public void scale(double sx, double sy)
-
rotate
public void rotate(double theta)
-
getScaleInstance
public static Matrix getScaleInstance(double x, double y)
-
getTranslateInstance
public static Matrix getTranslateInstance(double x, double y)
-
getRotateInstance
public static Matrix getRotateInstance(double theta, double tx, double ty)
-
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
public BoundingBox transformBoundingBox(BoundingBox boundingBox)
-
transformX
public double transformX(double x, double y)
-
transformY
public double transformY(double x, double y)
-
getRotationDegree
public double getRotationDegree()
-
-