org.icepdf.core.pobjects.graphics
Class CalGray
java.lang.Object
org.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.graphics.PColorSpace
org.icepdf.core.pobjects.graphics.CalGray
public class CalGray
- extends PColorSpace
A CalGray colour space (PDF 1.1) is a special case of a single-component
CIE-based colour space, known as a CIE-based A colour space. This type of
space is the one-dimensional (and usually achromatic) analog of CIE-based
ABC spaces. Colour values in a CIE-based A space shall have a single component,
arbitrarily named A.Figure 23 illustrates the transformations of the A
component to X, Y, and Z components of the CIE 1931 XYZ space.
- Since:
- 5.0.1
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WHITE_POINT_KEY
public static final Name WHITE_POINT_KEY
GAMMA_KEY
public static final Name GAMMA_KEY
MATRIX_KEY
public static final Name MATRIX_KEY
CAL_GRAY_KEY
public static final Name CAL_GRAY_KEY
whitepoint
protected float[] whitepoint
gamma
protected float gamma
CalGray
public CalGray(Library l,
java.util.HashMap h)
getColor
public java.awt.Color getColor(float[] f,
boolean fillAndStroke)
- Specified by:
getColor in class PColorSpace
getNumComponents
public int getNumComponents()
- Specified by:
getNumComponents in class PColorSpace
- Returns: