com.lowagie.text.pdf.parser
public class Matrix extends Object
Since: 2.1.4
Field Summary | |
---|---|
static int | I11 an array position referring to a specific value in the matrix. |
static int | I12 an array position referring to a specific value in the matrix. |
static int | I13 an array position referring to a specific value in the matrix. |
static int | I21 an array position referring to a specific value in the matrix. |
static int | I22 an array position referring to a specific value in the matrix. |
static int | I23 an array position referring to a specific value in the matrix. |
static int | I31 an array position referring to a specific value in the matrix. |
static int | I32 an array position referring to a specific value in the matrix. |
static int | I33 an array position referring to a specific value in the matrix. |
float[] | vals the values inside the matrix (the identity matrix by default). |
Constructor Summary | |
---|---|
Matrix()
constructs a new Matrix with identity. | |
Matrix(float tx, float ty)
Constructs a matrix that represents translation | |
Matrix(float a, float b, float c, float d, float e, float f)
Creates a Matrix with 6 specified entries |
Method Summary | |
---|---|
boolean | equals(Object obj)
Checks equality of matrices. |
float | get(int index)
Gets a specific value inside the matrix. |
int | hashCode()
Generates a hash code for this object. |
Matrix | multiply(Matrix by)
multiplies this matrix by 'b' and returns the result
See http://en.wikipedia.org/wiki/Matrix_multiplication |
String | toString()
Generates a String representating of the matrix. |
Parameters: tx ty
Parameters: a b c d e f
Parameters: obj the other Matrix that needs to be compared with this matrix.
Returns: true if both matrices are equal
See Also: java.lang.Object#equals(java.lang.Object)
Parameters: index an array index corresponding with a value inside the matrix
Returns: the value at that specific position.
Returns: the hash code of this object
See Also: java.lang.Object#hashCode()
Parameters: by The matrix to multiply by
Returns: the resulting matrix
Returns: the values, delimited with tabs and newlines.
See Also: java.lang.Object#toString()