IColorPalette class

IColorPalette class

The color palette interface.

The IColorPalette type exposes the following members:

Properties

PropertyDescription
entries_countGets the entries count.
argb_32_entriesGets an array of 32-bit ARGB structures.
entriesGets an array of Color structures.
is_compact_paletteGets a value indicating whether compact palette is used.

Methods

MethodDescription
get_nearest_color_indexGets the index of the nearest 32-bit ARGB color.
get_nearest_color_indexGets the index of the nearest color.
get_argb_32_colorGets the 32-bit ARGB palette color by index.
get_colorGets the palette color by index.

See Also