Table of Contents

Interface IColorPalette

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

The color palette interface.

public interface IColorPalette

Properties

Argb32Entries

Gets an array of 32-bit ARGB structures.

Entries

Gets an array of Color structures.

EntriesCount

Gets the entries count.

IsCompactPalette

Gets a value indicating whether compact palette is used.

Methods

GetArgb32Color(int)

Gets the 32-bit ARGB palette color by index.

GetColor(int)

Gets the palette color by index.

GetNearestColorIndex(Color)

Gets the index of the nearest color.

GetNearestColorIndex(int)

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