IColorPalette Interface
The color palette interface.

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.7
Syntax
public interface IColorPalette

The IColorPalette type exposes the following members.

Properties
  NameDescription
Public propertyArgb32Entries
Gets an array of 32-bit ARGB structures.
Public propertyEntries
Gets an array of Color structures.
Public propertyEntriesCount
Gets the entries count.
Public propertyIsCompactPalette
Gets a value indicating whether compact palette is used.
Methods
  NameDescription
Public methodGetArgb32Color
Gets the 32-bit ARGB palette color by index.
Public methodGetColor
Gets the palette color by index.
Public methodGetNearestColorIndex(Int32)
Gets the index of the nearest 32-bit ARGB color.
Public methodGetNearestColorIndex(Color)
Gets the index of the nearest color.
See Also