ColorPalette Class
Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors. Not inheritable.
Inheritance Hierarchy
SystemObject
  Aspose.PSDColorPalette

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
public sealed class ColorPalette : IColorPalette

The ColorPalette type exposes the following members.

Constructors
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 or sets a value indicating whether compact palette is used.
Methods
  NameDescription
Public methodStatic memberCopyPalette(IColorPalette)
Copies the palette.
Public methodStatic memberCopyPalette(IColorPalette, Boolean)
Copies the palette.
Public methodEquals (Inherited from Object.)
Public methodGetArgb32Color
Gets the 32-bit ARGB palette color by index.
Public methodGetColor
Gets the palette color by index.
Public methodGetHashCode (Inherited from Object.)
Public methodGetNearestColorIndex(Int32)
Gets the index of the nearest color.
Public methodGetNearestColorIndex(Color)
Gets the index of the nearest color.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also