public class DeviceRGB extends PColorSpace
| Modifier and Type | Field and Description |
|---|---|
static Name |
DEVICERGB_KEY |
static Name |
RGB_KEY |
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor(float[] colours,
boolean fillAndStroke)
Get the awt Color value for for a given colours data.
|
int |
getNumComponents() |
getColor, getColorSpace, getColorSpace, getDescription, normaliseComponentsToFloats, reverse, reverseInPlace, reverseInPlacegetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic static final Name DEVICERGB_KEY
public static final Name RGB_KEY
public int getNumComponents()
getNumComponents in class PColorSpacepublic java.awt.Color getColor(float[] colours,
boolean fillAndStroke)
getColor in class PColorSpacecolours - array containing the RGB colour values.