public abstract class PDCIEDictionaryBasedColorSpace extends PDCIEBasedColorSpace
Modifier and Type | Field and Description |
---|---|
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) |
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
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 spaceprotected 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 tristimulusCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.