This documentation is archived and is not being maintained.

Matrix Class

Encapsulates a 3-by-3 affine matrix that represents a geometric transform. This class cannot be inherited.

For a list of all members of this type, see Matrix Members.


[Visual Basic]
NotInheritable Public Class Matrix
   Inherits MarshalByRefObject
   Implements IDisposable
public sealed class Matrix : MarshalByRefObject, IDisposable
public __gc __sealed class Matrix : public MarshalByRefObject,
public class Matrix extends MarshalByRefObject implements

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The 3-by-3 matrix contains x values in the first column, y values in the second column, and w values in the third column.


Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

Matrix Members | System.Drawing.Drawing2D Namespace