Table of Contents

Method GetNearestColorIndex

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

GetNearestColorIndex(int)

Gets the index of the nearest 32-bit ARGB color.

int GetNearestColorIndex(int argb32Color)

Parameters

argb32Color int

The 32-bit ARGB color.

Returns

int

The index of the nearest color.

GetNearestColorIndex(Color)

Gets the index of the nearest color.

int GetNearestColorIndex(Color color)

Parameters

color Color

The color.

Returns

int

The index of the nearest color.