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

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
public sealed class ColorPalette : IColorPalette

The ColorPalette type exposes the following members.

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.
Public methodStatic memberCopyPalette(IColorPalette)
Copies the palette.
Public methodStatic memberCopyPalette(IColorPalette, Boolean)
Copies the palette.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetArgb32Color
Gets the 32-bit ARGB palette color by index.
Public methodGetColor
Gets the palette color by index.
Public methodGetHashCode
Serves as a hash function for a particular type.
(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
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also