Matrix.Matrix

Matrix()

Initializes a new instance of the Matrix class as the identity matrix.

public Matrix()

See Also


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)
ParameterTypeDescription
m11SingleThe value in the first row and first column of the new Matrix.
m12SingleThe value in the first row and second column of the new Matrix.
m21SingleThe value in the second row and first column of the new Matrix.
m22SingleThe value in the second row and second column of the new Matrix.
dxSingleThe value in the third row and first column of the new Matrix.
dySingleThe value in the third row and second column of the new Matrix.

See Also


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)
ParameterTypeDescription
rectRectangleA Rectangle structure that represents the rectangle to be transformed.
plgptsPoint[]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


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)
ParameterTypeDescription
rectRectangleFA RectangleF structure that represents the rectangle to be transformed.
plgptsPointF[]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