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.
|
protected boolean |
isWhitePoint()
Tests if the current point is the white point.
|
void |
setBlackPoint(PDTristimulus blackpoint)
This will set the BlackPoint tristimulus.
|
void |
setWhitePoint(PDTristimulus whitepoint)
This will set the whitepoint tristimulus.
|
toRawImage, toRGBImage, toStringcreate, create, create, getCOSObject, getDefaultDecode, getInitialColor, getName, getNumberOfComponents, toRawImage, toRGB, toRGBImageAWTprotected final 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 boolean isWhitePoint()
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 tristimulus.IllegalArgumentException - if null is passed as argument.public void setBlackPoint(PDTristimulus blackpoint)
blackpoint - the BlackPoint tristimulusCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.