ColorMatrix
内容
[
隐藏
]ColorMatrix class
定义一个 5 x 5 矩阵,其中包含 RGBA 空间的坐标。的几种方法ImageAttributes类使用颜色矩阵调整图像颜色。这个类不能被继承。
public sealed class ColorMatrix
构造函数
| 姓名 | 描述 |
|---|---|
| ColorMatrix() | 初始化ColorMatrix类. |
| ColorMatrix(float[][]) | 初始化ColorMatrix使用指定矩阵中的元素进行类newColorMatrix . |
特性
| 姓名 | 描述 |
|---|---|
| Item { get; set; } | 获取或设置指定行列中的元素ColorMatrix . |
| Matrix00 { get; set; } | 获取或设置 this 的 0(零)行和 0 列的元素ColorMatrix . |
| Matrix01 { get; set; } | 获取或设置第 0(零)行和第 1 列的元素ColorMatrix . |
| Matrix02 { get; set; } | 获取或设置 this 的第 0(零)行和第二列的元素ColorMatrix . |
| Matrix03 { get; set; } | 获取或设置第 0(零)行和第 3 列的元素ColorMatrix . |
| Matrix04 { get; set; } | 获取或设置第 0(零)行第 4 列的元素ColorMatrix . |
| Matrix10 { get; set; } | 获取或设置此元素的第一行和第 0(零)列的元素ColorMatrix . |
| Matrix11 { get; set; } | 获取或设置 this 的第一行第一列的元素ColorMatrix . |
| Matrix12 { get; set; } | 获取或设置 this 的第一行第二列的元素ColorMatrix . |
| Matrix13 { get; set; } | 获取或设置 this 的第一行第三列的元素ColorMatrix . |
| Matrix14 { get; set; } | 获取或设置 this 的第一行第四列的元素ColorMatrix . |
| Matrix20 { get; set; } | 获取或设置 this 的第二行 0(零)列的元素ColorMatrix . |
| Matrix21 { get; set; } | 获取或设置 this 的第二行第一列的元素ColorMatrix . |
| Matrix22 { get; set; } | 获取或设置 this 的第二行第二列的元素ColorMatrix . |
| Matrix23 { get; set; } | 获取或设置此第二行第三列的元素ColorMatrix . |
| Matrix24 { get; set; } | 获取或设置此第二行第四列的元素ColorMatrix . |
| Matrix30 { get; set; } | 获取或设置此元素第三行 0(零)列的元素ColorMatrix . |
| Matrix31 { get; set; } | 获取或设置 this 的第三行第一列的元素ColorMatrix . |
| Matrix32 { get; set; } | 获取或设置 this 的第三行第二列的元素ColorMatrix . |
| Matrix33 { get; set; } | 获取或设置 this 的第三行第三列的元素ColorMatrix . |
| Matrix34 { get; set; } | 获取或设置 this 的第三行第四列的元素ColorMatrix . |
| Matrix40 { get; set; } | 获取或设置 this 的第四行 0(零)列的元素ColorMatrix . |
| Matrix41 { get; set; } | 获取或设置 this 的第四行第一列的元素ColorMatrix . |
| Matrix42 { get; set; } | 获取或设置 this 第四行第二列的元素ColorMatrix . |
| Matrix43 { get; set; } | 获取或设置 this 第四行第三列的元素ColorMatrix . |
| Matrix44 { get; set; } | 获取或设置 this 第四行第四列的元素ColorMatrix . |
方法
| 姓名 | 描述 |
|---|---|
| GetMatrix() | 获取矩阵值。 |
字段
| 姓名 | 描述 |
|---|---|
| const MatrixDimensionElementsCount | 矩阵维度的元素个数。 |
| const MatrixDimensionsCount | 矩阵维数。 |
| const MatrixTotalElementsCount | 矩阵中元素的总数。 |
也可以看看
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging