.NET Framework Class Library
Matrix Constructor (Single, Single, Single, Single, Single, Single)
Initializes a new instance of the Matrix class with the specified elements.
Assembly: System.Drawing (in System.Drawing.dll)
Syntax
Visual Basic
Public Sub New ( _ m11 As Single, _ m12 As Single, _ m21 As Single, _ m22 As Single, _ dx As Single, _ dy As Single _ )
C#
public Matrix( float m11, float m12, float m21, float m22, float dx, float dy )
Visual C++
public: Matrix( float m11, float m12, float m21, float m22, float dx, float dy )
F#
new : m11:float32 * m12:float32 * m21:float32 * m22:float32 * dx:float32 * dy:float32 -> Matrix
Parameters
- m11
- Type: System.Single
The value in the first row and first column of the new Matrix.
- m12
- Type: System.Single
The value in the first row and second column of the new Matrix.
- m21
- Type: System.Single
The value in the second row and first column of the new Matrix.
- m22
- Type: System.Single
The value in the second row and second column of the new Matrix.
- dx
- Type: System.Single
The value in the third row and first column of the new Matrix.
- dy
- Type: System.Single
The value in the third row and second column of the new Matrix.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0.NET Framework Client Profile
Supported in: 4, 3.5 SP1Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also