**Inheritance:**
java.lang.Object
```
public final class MatrixExtensions
```

包含 `Matrix` 类的扩展。
## 方法

| 方法 | 描述 |
| --- | --- |
| [toGdiMatrix(Matrix matrix)](#toGdiMatrix-com.aspose.imaging.Matrix-) | 将 `Matrix` 转换为 `System.Drawing.Drawing2D.Matrix`。 |
### toGdiMatrix(Matrix matrix) {#toGdiMatrix-com.aspose.imaging.Matrix-}
```
public static AffineTransform toGdiMatrix(Matrix matrix)
```


将 `Matrix` 转换为 `System.Drawing.Drawing2D.Matrix`。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| matrix | [Matrix](../../com.aspose.imaging/matrix) | 要转换的 `Matrix`。 |

**Returns:**
java.awt.geom.AffineTransform - 已转换的 `System.Drawing.Drawing2D.Matrix`。
