public class DeviceGray extends PColorSpace
| Modifier and Type | Field and Description |
|---|---|
static Name |
DEVICEGRAY_KEY |
static Name |
G_KEY |
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
DeviceGray(Library l,
java.util.HashMap h) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor(float[] f,
boolean fillAndStroke) |
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 DEVICEGRAY_KEY
public static final Name G_KEY
public DeviceGray(Library l, java.util.HashMap h)
public int getNumComponents()
getNumComponents in class PColorSpacepublic java.awt.Color getColor(float[] f,
boolean fillAndStroke)
getColor in class PColorSpace