GetNearestColorIndex
GetNearestColorIndex(int)
获取最接近颜色的索引。
public int GetNearestColorIndex(int argb32Color)
| 范围 | 类型 | 描述 |
|---|---|---|
| argb32Color | Int32 | 32 位 ARGB 颜色。 |
返回值
最接近颜色的索引。
也可以看看
- class ColorPalette
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging
GetNearestColorIndex(Color)
获取最接近颜色的索引。
public int GetNearestColorIndex(Color color)
| 范围 | 类型 | 描述 |
|---|---|---|
| color | Color | 颜色。 |
返回值
最接近颜色的索引。
也可以看看
- struct Color
- class ColorPalette
- 命名空间 Aspose.Imaging
- 部件 Aspose.Imaging