接口 IColorPalette
IColorPalette interface
颜色调色板接口。
public interface IColorPalette
属性
| 名称 | 描述 |
|---|---|
| Argb32Entries { get; } | 获取 32 位 ARGB 结构的数组。 |
| Entries { get; } | 获取 Color 结构的数组。 |
| EntriesCount { get; } | 获取条目计数。 |
| IsCompactPalette { get; } | 获取一个值,指示是否使用紧凑调色板。 |
方法
| 名称 | 描述 |
|---|---|
| GetArgb32Color(int) | 按索引获取 32 位 ARGB 调色板颜色。 |
| GetColor(int) | 通过索引获取调色板颜色。 |
| GetNearestColorIndex(Color) | 获取最近颜色的索引。 |
| GetNearestColorIndex(int) | 获取最近的 32 位 ARGB 颜色的索引。 |
另请参见
- namespace Aspose.Imaging
- assembly Aspose.Imaging