public abstract class PDCIEDictionaryBasedColorSpace extends PDCIEBasedColorSpace
Modifier and Type | Field and Description |
---|---|
private static java.awt.color.ColorSpace |
CIEXYZ |
protected COSDictionary |
dictionary |
protected float |
wpX |
protected float |
wpY |
protected float |
wpZ |
array
Modifier | Constructor and Description |
---|---|
protected |
PDCIEDictionaryBasedColorSpace(COSArray rgb)
Creates a new CalRGB color space using the given COS array.
|
protected |
PDCIEDictionaryBasedColorSpace(COSName cosName) |
Modifier and Type | Method and Description |
---|---|
protected float[] |
convXYZtoRGB(float x,
float y,
float z) |
private void |
fillWhitepointCache(PDTristimulus whitepoint) |
PDTristimulus |
getBlackPoint()
This will return the BlackPoint tristimulus.
|
PDTristimulus |
getWhitepoint()
This will return the whitepoint tristimulus.
|
void |
setBlackPoint(PDTristimulus blackpoint)
This will set the BlackPoint tristimulus.
|
void |
setWhitePoint(PDTristimulus whitepoint)
This will set the whitepoint tristimulus.
|
toRGBImage, toString
create, create, create, getCOSObject, getDefaultDecode, getInitialColor, getName, getNumberOfComponents, toRGB, toRGBImageAWT
protected COSDictionary dictionary
private static final java.awt.color.ColorSpace CIEXYZ
protected float wpX
protected float wpY
protected float wpZ
protected PDCIEDictionaryBasedColorSpace(COSName cosName)
protected PDCIEDictionaryBasedColorSpace(COSArray rgb)
rgb
- the cos array which represents this color spaceprivate void fillWhitepointCache(PDTristimulus whitepoint)
protected float[] convXYZtoRGB(float x, float y, float z)
public final PDTristimulus getWhitepoint()
public final PDTristimulus getBlackPoint()
public void setWhitePoint(PDTristimulus whitepoint)
whitepoint
- the whitepoint tristimuluspublic void setBlackPoint(PDTristimulus blackpoint)
blackpoint
- the BlackPoint tristimulus