| IColorPaletteGetNearestColorIndex Method (Color) |
Gets the index of the nearest color.
Namespace: Aspose.PSDAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntaxint GetNearestColorIndex(
Color color
)
Function GetNearestColorIndex (
color As Color
) As Integer
int GetNearestColorIndex(
Color color
)
abstract GetNearestColorIndex :
color : Color -> int
Parameters
- color
- Type: Aspose.PSDColor
The color.
Return Value
Type:
Int32The index of the nearest color.
See Also