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.
|
toRawImage, toRGBImage, toString
create, create, create, getCOSObject, getDefaultDecode, getInitialColor, getName, getNumberOfComponents, toRawImage, 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 tristimulus.IllegalArgumentException
- if null is passed as argument.public void setBlackPoint(PDTristimulus blackpoint)
blackpoint
- the BlackPoint tristimulusCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.