public class CalRGBColorSpace extends ColorSpace
In this type of space, A, B, and C represent calibrated red, green, and blue color values. These three color components must be in the range 0.0 to 1.0; component values falling outside that range are adjusted to the nearest valid value without error indication.
DEVICE_CMYK, DEVICE_GRAY, DEVICE_RGB, DEVICE_RGBA, LAB, LAB_A| Constructor and Description |
|---|
CalRGBColorSpace(java.util.List<java.lang.Double> whitePoint)
Create a CalRGB color space.
|
CalRGBColorSpace(java.util.List<java.lang.Double> whitePoint,
java.util.List<java.lang.Double> blackPoint,
java.util.List<java.lang.Double> gamma,
java.util.List<java.lang.Double> matrix)
Create a CalRGB color space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.util.List<java.lang.Double> |
getBlackPoint()
An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point.
|
java.util.List<java.lang.Double> |
getGamma()
A number G defining the gamma for the gray component.
|
java.util.List<java.lang.Double> |
getMatrix()
An array of nine numbers [ XA YA ZA XB YB ZB XC YC ZC ] specifying the linear interpretation of the decoded A, B, and C components of the color space with respect to the final XYZ representation.
|
java.util.List<java.lang.Double> |
getWhitePoint()
An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point.
|
equals, getName, getNumComponents, getPDFObject, toStringpublic CalRGBColorSpace(java.util.List<java.lang.Double> whitePoint,
java.util.List<java.lang.Double> blackPoint,
java.util.List<java.lang.Double> gamma,
java.util.List<java.lang.Double> matrix)
whitePoint - An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. The numbers X and Z must be positive, and Y must be equal to 1.0.blackPoint - An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. All three of these numbers must be non-negative.gamma - An array of three numbers [ GR GG GB ] specifying the gamma for the red, green, and blue (A, B, and C) components of the color space.matrix - An array of nine numbers [ XA YA ZA XB YB ZB XC YC ZC ] specifying the linear interpretation of the decoded A, B, and C components of the color space with respect to the final XYZ representation.public CalRGBColorSpace(java.util.List<java.lang.Double> whitePoint)
The blackPoint defaults to [0.0, 0.0, 0.0].
The gamma defaults to [1.0, 1.0, 1.0].
The matrix defaults to [1 0 0 0 1 0 0 0 1]
whitePoint - An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. The numbers X and Z must be positive, and Y must be equal to 1.0.public void delete()
delete in class ColorSpacepublic java.util.List<java.lang.Double> getWhitePoint()
public java.util.List<java.lang.Double> getBlackPoint()
public java.util.List<java.lang.Double> getGamma()
public java.util.List<java.lang.Double> getMatrix()