IColorPalette interface

The color palette interface.

public interface IColorPalette


Name Description
Argb32Entries { get; } Gets an array of 32-bit ARGB structures.
Entries { get; } Gets an array of Color structures.
EntriesCount { get; } Gets the entries count.
IsCompactPalette { get; } Gets a value indicating whether compact palette is used.


Name Description
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.

See Also