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

该 `ColorMatrix` 扩展方法。
## 方法

| 方法 | 描述 |
| --- | --- |
| [toGdiColorMatrix(ColorMatrix colorMatrix)](#toGdiColorMatrix-com.aspose.imaging.ColorMatrix-) | 将 `Aspose.Imaging.ColorMatrix` 转换为 `System.Drawing.Imaging.ColorMatrix`。 |
### toGdiColorMatrix(ColorMatrix colorMatrix) {#toGdiColorMatrix-com.aspose.imaging.ColorMatrix-}
```
public static System.Drawing.Imaging.ColorMatrix toGdiColorMatrix(ColorMatrix colorMatrix)
```


将 `Aspose.Imaging.ColorMatrix` 转换为 `System.Drawing.Imaging.ColorMatrix`。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| colorMatrix | [ColorMatrix](../../com.aspose.imaging/colormatrix) | 待转换的颜色矩阵。 |

**Returns:**
[ColorMatrix](../../com.aspose.ms.system.drawing.imaging/colormatrix) - The converted `System.Drawing.Imaging.ColorMatrix`.
