IndexedColorPalette
Overview
IndexedColorPalette is a class in Aspose.PSD FOSS for Java.
The palette of an indexed-color document, parsed from the color mode data.
This class declares 4 methods for IndexedColorPalette objects in Java programs.
Available methods include: IndexedColorPalette, getEntries, parse, toPublicInfo.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: EXPECTED_RAW_LENGTH, entries.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
entries | Color[] | Read | Gets the entries. |
EXPECTED_RAW_LENGTH | int | Read | Gets the expected raw length. |
Methods
| Signature | Description |
|---|---|
IndexedColorPalette(entries: Color[]) | Creates a new IndexedColorPalette instance from entries. |
getEntries() → Color[] | Returns the entries. |
parse(rawData: byte[]) → IndexedColorPalette | Calls the static method parse(rawData) of IndexedColorPalette. |
toPublicInfo() → IndexedColorPaletteInfo | Calls toPublicInfo on this IndexedColorPalette instance. |