java.lang.Object
com.lowagie.text.pdf.parser.Matrix
Deprecated.
Keeps all the values of a 3 by 3 matrix and allows you to do some math with matrices.
- Since:
- 2.1.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.the row=1, col=1 position ('a') in the matrix.static final intDeprecated.the row=1, col=2 position ('b') in the matrix.static final intDeprecated.the row=1, col=3 position (always 0 for 2-D) in the matrix.static final intDeprecated.the row=2, col=1 position ('c') in the matrix.static final intDeprecated.the row=2, col=2 position ('d') in the matrix.static final intDeprecated.the row=2, col=3 position (always 0 for 2-D) in the matrix.static final intDeprecated.the row=3, col=1 ('e', or X translation) position in the matrix.static final intDeprecated.the row=3, col=2 ('f', or Y translation) position in the matrix.static final intDeprecated.the row=3, col=3 position (always 1 for 2-D) in the matrix. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Checks equality of matrices.floatget(int index) Deprecated.Gets a specific value inside the matrix.inthashCode()Deprecated.Generates a hash code for this object.Deprecated.multiplies this matrix by 'b' and returns the result See http://en.wikipedia.org/wiki/Matrix_multiplicationDeprecated.Subtracts a matrix from this matrix and returns the resultstoString()Deprecated.Generates a String representation of the matrix.
-
Field Details
-
I11
public static final int I11Deprecated.the row=1, col=1 position ('a') in the matrix.- See Also:
-
I12
public static final int I12Deprecated.the row=1, col=2 position ('b') in the matrix.- See Also:
-
I13
public static final int I13Deprecated.the row=1, col=3 position (always 0 for 2-D) in the matrix.- See Also:
-
I21
public static final int I21Deprecated.the row=2, col=1 position ('c') in the matrix.- See Also:
-
I22
public static final int I22Deprecated.the row=2, col=2 position ('d') in the matrix.- See Also:
-
I23
public static final int I23Deprecated.the row=2, col=3 position (always 0 for 2-D) in the matrix.- See Also:
-
I31
public static final int I31Deprecated.the row=3, col=1 ('e', or X translation) position in the matrix.- See Also:
-
I32
public static final int I32Deprecated.the row=3, col=2 ('f', or Y translation) position in the matrix.- See Also:
-
I33
public static final int I33Deprecated.the row=3, col=3 position (always 1 for 2-D) in the matrix.- See Also:
-
-
Method Details
-
get
public float get(int index) Deprecated.Gets a specific value inside the matrix.- Parameters:
index- an array index corresponding with a value inside the matrix- Returns:
- the value at that specific position.
-
multiply
Deprecated.multiplies this matrix by 'b' and returns the result See http://en.wikipedia.org/wiki/Matrix_multiplication- Parameters:
by- The matrix to multiply by- Returns:
- the resulting matrix
-
subtract
Deprecated.Subtracts a matrix from this matrix and returns the results- Parameters:
arg- the matrix to subtract from this matrix- Returns:
- the resulting matrix
-
equals
Deprecated.Checks equality of matrices. -
hashCode
public int hashCode()Deprecated.Generates a hash code for this object. -
toString
Deprecated.Generates a String representation of the matrix.
-