Package org.verapdf.pd.colors
Class PDDeviceGray
- java.lang.Object
-
- org.verapdf.pd.PDObject
-
- org.verapdf.pd.PDResource
-
- org.verapdf.pd.colors.PDColorSpace
-
- org.verapdf.pd.colors.PDDeviceGray
-
public class PDDeviceGray extends PDColorSpace
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static PDDeviceGray
INHERITED_INSTANCE
static PDDeviceGray
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfComponents()
ASAtom
getType()
double[]
toRGB(double[] value)
-
Methods inherited from class org.verapdf.pd.PDResource
isInherited, setInherited
-
Methods inherited from class org.verapdf.pd.PDObject
clear, empty, getBooleanKey, getIntegerKey, getKey, getNameKey, getObject, getRealKey, getStringKey, knownKey, removeKey, setBooleanKey, setIntegerKey, setKey, setNameKey, setObject, setObject, setStringKey, updateFromObject, updateToObject
-
-
-
-
Field Detail
-
INSTANCE
public static final PDDeviceGray INSTANCE
-
INHERITED_INSTANCE
public static final PDDeviceGray INHERITED_INSTANCE
-
-
Method Detail
-
getNumberOfComponents
public int getNumberOfComponents()
- Specified by:
getNumberOfComponents
in classPDColorSpace
-
getType
public ASAtom getType()
- Specified by:
getType
in classPDColorSpace
-
toRGB
public double[] toRGB(double[] value)
- Specified by:
toRGB
in classPDColorSpace
-
-