Matrix.Matrix
Contents
[
Hide
]Matrix()
Constructor creates stanrard 1 to 1 matrix: [ A B C D E F ] = [ 1, 0, 0, 1, 0, 0]
public Matrix()
Examples
Matrix m = new Matrix();
See Also
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF
Matrix(double[])
Constructor accepts a matrix with following array representation: [ A B C D E F ]
public Matrix(double[] matrixArray)
Parameter | Type | Description |
---|---|---|
matrixArray | Double[] | Matrix data array. |
Examples
double[] c = new double[] { 1, 0, 0, 1, 10, 20 };
Matrix m = new Matrix(c);
See Also
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF
Matrix(float[])
Constructor accepts a matrix with following array representation: [ A B C D E F ]
public Matrix(float[] matrixArray)
Parameter | Type | Description |
---|---|---|
matrixArray | Single[] | Matrix data array. |
See Also
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF
Matrix(Matrix)
Constructor accepts a matrix to create a copy
public Matrix(Matrix matrix)
Parameter | Type | Description |
---|---|---|
matrix | Matrix | Matrix object. |
See Also
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF
Matrix(double, double, double, double, double, double)
Initializes transformation matrix with specified coefficients.
public Matrix(double a, double b, double c, double d, double e, double f)
Parameter | Type | Description |
---|---|---|
a | Double | A matrix value. |
b | Double | B matrix value. |
c | Double | C matrix value. |
d | Double | D matrix value. |
e | Double | E matrix value. |
f | Double | F matrix value. |
Examples
Matrix m = new Matrix(1, 0, 0, 1, 3, 3);
See Also
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF