public interface Palette
| Modifier and Type | Method and Description |
|---|---|
int |
getEntry(int index)
Looks up the color for a given palette index.
|
int |
getPaletteIndex(int rgb)
Looks up the palette index for a given color.
|
int |
length()
The number of entries in the palette.
|
int getPaletteIndex(int rgb)
throws ImageWriteException
rgb - the color to look upImageWriteExceptionint getEntry(int index)
index - the palette index to look upint length()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"