|
iText 8.0.3 API
|
Keeps all the values of a 3 by 3 matrix and allows you to do some math with matrices. More...
Public Member Functions |
|
| Matrix () | |
| constructs a new Matrix with identity. More... |
|
| Matrix (float tx, float ty) | |
| Constructs a matrix that represents translation. More... |
|
| Matrix (float e11, float e12, float e13, float e21, float e22, float e23, float e31, float e32, float e33) | |
| Creates a Matrix with 9 specified entries. More... |
|
| Matrix (float a, float b, float c, float d, float e, float f) | |
| Creates a Matrix with 6 specified entries. More... |
|
| virtual float | Get (int index) |
| Gets a specific value inside the matrix. More... |
|
| virtual iText.Kernel.Geom.Matrix | Multiply (iText.Kernel.Geom.Matrix by) |
| multiplies this matrix by 'b' and returns the result. More... |
|
| virtual iText.Kernel.Geom.Matrix | Add (iText.Kernel.Geom.Matrix arg) |
| Adds a matrix from this matrix and returns the results. More... |
|
| virtual iText.Kernel.Geom.Matrix | Subtract (iText.Kernel.Geom.Matrix arg) |
| Subtracts a matrix from this matrix and returns the results. More... |
|
| virtual float | GetDeterminant () |
| Computes the determinant of the matrix. More... |
|
| override bool | Equals (Object obj) |
| Checks equality of matrices. More... |
|
| override int | GetHashCode () |
| Generates a hash code for this object. More... |
|
| override String | ToString () |
| Generates a String representation of the matrix. More... |
|
Static Public Attributes |
|
| const int | I11 = 0 |
| the row=1, col=1 position ('a') in the matrix. More... |
|
| const int | I12 = 1 |
| the row=1, col=2 position ('b') in the matrix. More... |
|
| const int | I13 = 2 |
| the row=1, col=3 position (always 0 for 2-D) in the matrix. More... |
|
| const int | I21 = 3 |
| the row=2, col=1 position ('c') in the matrix. More... |
|
| const int | I22 = 4 |
| the row=2, col=2 position ('d') in the matrix. More... |
|
| const int | I23 = 5 |
| the row=2, col=3 position (always 0 for 2-D) in the matrix. More... |
|
| const int | I31 = 6 |
| the row=3, col=1 ('e', or X translation) position in the matrix. More... |
|
| const int | I32 = 7 |
| the row=3, col=2 ('f', or Y translation) position in the matrix. More... |
|
| const int | I33 = 8 |
| the row=3, col=3 position (always 1 for 2-D) in the matrix. More... |
|
Keeps all the values of a 3 by 3 matrix and allows you to do some math with matrices.
|
inline |
constructs a new Matrix with identity.
|
inline |
Constructs a matrix that represents translation.
| tx | x-axis translation |
| ty | y-axis translation |
|
inline |
Creates a Matrix with 9 specified entries.
| e11 | element at position (1,1) |
| e12 | element at position (1,2) |
| e13 | element at position (1,3) |
| e21 | element at position (2,1) |
| e22 | element at position (2,2) |
| e23 | element at position (2,3) |
| e31 | element at position (3,1) |
| e32 | element at position (3,2) |
| e33 | element at position (3,3) |
|
inline |
|
inlinevirtual |
Adds a matrix from this matrix and returns the results.
| arg | the matrix to subtract from this matrix |
|
inline |
Checks equality of matrices.
| obj | the other Matrix that needs to be compared with this matrix. |
|
inlinevirtual |
Gets a specific value inside the matrix.
Gets a specific value inside the matrix.
For reference, the indeces are as follows:
I11 I12 I13
I21 I22 I23
I31 I32 I33
| index | an array index corresponding with a value inside the matrix |
|
inlinevirtual |
Computes the determinant of the matrix.
|
inline |
Generates a hash code for this object.
|
inlinevirtual |
multiplies this matrix by 'b' and returns the result.
multiplies this matrix by 'b' and returns the result. See http://en.wikipedia.org/wiki/Matrix_multiplication
| by | The matrix to multiply by |
|
inlinevirtual |
Subtracts a matrix from this matrix and returns the results.
| arg | the matrix to subtract from this matrix |
|
inline |
Generates a String representation of the matrix.
|
static |
the row=1, col=1 position ('a') in the matrix.
|
static |
the row=1, col=2 position ('b') in the matrix.
|
static |
the row=1, col=3 position (always 0 for 2-D) in the matrix.
|
static |
the row=2, col=1 position ('c') in the matrix.
|
static |
the row=2, col=2 position ('d') in the matrix.
|
static |
the row=2, col=3 position (always 0 for 2-D) in the matrix.
|
static |
the row=3, col=1 ('e', or X translation) position in the matrix.
|
static |
the row=3, col=2 ('f', or Y translation) position in the matrix.
|
static |
the row=3, col=3 position (always 1 for 2-D) in the matrix.