PsdColorPalette.GetNearestColorIndex
GetNearestColorIndex(int)
Gets the index of the nearest color.
public int GetNearestColorIndex(int argb32Color)
Parameter | Type | Description |
---|---|---|
argb32Color | Int32 | The 32-bit ARGB color. |
Return Value
The index of the nearest color.
See Also
- class PsdColorPalette
- namespace Aspose.PSD.FileFormats.Psd
- assembly Aspose.PSD
GetNearestColorIndex(Color)
Gets the index of the nearest color.
public int GetNearestColorIndex(Color color)
Parameter | Type | Description |
---|---|---|
color | Color | The color. |
Return Value
The index of the nearest color.
See Also
- struct Color
- class PsdColorPalette
- namespace Aspose.PSD.FileFormats.Psd
- assembly Aspose.PSD