public interface SuggestedPalette
| Modifier and Type | Method and Description |
|---|---|
int |
getFrequency(int index)
Retrieve a sample frequency value.
|
java.lang.String |
getName()
Returns palette name.
|
void |
getSample(int index,
short[] pixel)
Retrieve a sample value.
|
int |
getSampleCount()
Returns the number of samples.
|
int |
getSampleDepth()
Returns the sample depth.
|
java.lang.String getName()
int getSampleCount()
int getSampleDepth()
void getSample(int index,
short[] pixel)
getSampleDepth. The color samples are not
premultiplied by alpha. An alpha value of 0 means fully transparent.index - the sample indexpixel - the array in which to store the sample componentsjava.lang.IndexOutOfBoundsException - if index < 0, index >= getSampleCount, or
pixel.length is less than 4java.lang.NullPointerException - if pixel is nullint getFrequency(int index)
index - the sample index