public class Indexed extends PColorSpace
| Modifier and Type | Field and Description |
|---|---|
static Name |
I_KEY |
static Name |
INDEXED_KEY |
entries, FORM_TYPE_KEY, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Modifier and Type | Method and Description |
|---|---|
java.awt.Color[] |
accessColorTable() |
java.awt.Color |
getColor(float[] f,
boolean fillAndStroke)
Gets the colour for the array of float values
|
java.lang.String |
getDescription() |
int |
getNumComponents()
Return the number of components in indexed colour.
|
void |
init()
Initiate the Indexed Colour Object
|
getColor, getColorSpace, getColorSpace, normaliseComponentsToFloats, reverse, reverseInPlace, reverseInPlacegetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic int getNumComponents()
getNumComponents in class PColorSpacepublic java.lang.String getDescription()
getDescription in class PColorSpacepublic void init()
init in class Dictionarypublic java.awt.Color getColor(float[] f,
boolean fillAndStroke)
getColor in class PColorSpacef - public java.awt.Color[] accessColorTable()