Matrix.Matrix
Contents
[
Hide
]Matrix()
Initializes a new instance of the Matrix class as the identity matrix.
public Matrix()
See Also
- class Matrix
 - namespace Aspose.Drawing.Drawing2D
 - assembly Aspose.Drawing.Common
 
Matrix(float, float, float, float, float, float)
Initializes a new instance of the Matrix class with the specified elements.
public Matrix(float m11, float m12, float m21, float m22, float dx, float dy)
| Parameter | Type | Description | 
|---|---|---|
| m11 | Single | The value in the first row and first column of the new Matrix. | 
| m12 | Single | The value in the first row and second column of the new Matrix. | 
| m21 | Single | The value in the second row and first column of the new Matrix. | 
| m22 | Single | The value in the second row and second column of the new Matrix. | 
| dx | Single | The value in the third row and first column of the new Matrix. | 
| dy | Single | The value in the third row and second column of the new Matrix. | 
See Also
- class Matrix
 - namespace Aspose.Drawing.Drawing2D
 - assembly Aspose.Drawing.Common
 
Matrix(Rectangle, Point[])
Initializes a new instance of the Matrix class to the geometric transform defined by the specified rectangle and array of points.
public Matrix(Rectangle rect, Point[] plgpts)
| Parameter | Type | Description | 
|---|---|---|
| rect | Rectangle | A Rectangle structure that represents the rectangle to be transformed. | 
| plgpts | Point[] | An array of three Point structures that represents the points of a parallelogram to which the upper-left, upper-right, and lower-left corners of the rectangle is to be transformed. The lower-right corner of the parallelogram is implied by the first three corners. | 
See Also
- struct Rectangle
 - struct Point
 - class Matrix
 - namespace Aspose.Drawing.Drawing2D
 - assembly Aspose.Drawing.Common
 
Matrix(RectangleF, PointF[])
Initializes a new instance of the Matrix class to the geometric transform defined by the specified rectangle and array of points.
public Matrix(RectangleF rect, PointF[] plgpts)
| Parameter | Type | Description | 
|---|---|---|
| rect | RectangleF | A RectangleF structure that represents the rectangle to be transformed. | 
| plgpts | PointF[] | An array of three PointF structures that represents the points of a parallelogram to which the upper-left, upper-right, and lower-left corners of the rectangle is to be transformed. The lower-right corner of the parallelogram is implied by the first three corners. | 
See Also
- struct RectangleF
 - struct PointF
 - class Matrix
 - namespace Aspose.Drawing.Drawing2D
 - assembly Aspose.Drawing.Common