Package com.datalogics.PDFL
Class LabColorSpace
java.lang.Object
com.datalogics.PDFL.ColorSpace
com.datalogics.PDFL.LabColorSpace
A Lab color space is a CIE-based ABC color space with two transformation stages. In this type of space, A, B, and C represent the L*, a*, and b* components of a CIE 1976 L*a*b* space. The range of the first (L*) component is always 0 to 100; the ranges of the second and third (a* and b*) components are defined by the Range.
-
Field Summary
Fields inherited from class com.datalogics.PDFL.ColorSpace
DEVICE_CMYK, DEVICE_GRAY, DEVICE_RGB, DEVICE_RGBA, LAB, LAB_A -
Constructor Summary
ConstructorsConstructorDescriptionLabColorSpace(List<Double> whitePoint) Create a Lab color space.Create a Lab color space. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point.getRange()An array of four numbers [ amin amax bmin bmax ] specifying the range of valid values for the a* and b* (B and C) components of the color space.An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point.Methods inherited from class com.datalogics.PDFL.ColorSpace
equals, getName, getNumComponents, getPDFObject, toString
-
Constructor Details
-
LabColorSpace
Create a Lab color space.- Parameters:
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.range- An array of four numbers [ amin amax bmin bmax ] specifying the range of valid values for the a* and b* (B and C) components of the color space.
-
LabColorSpace
Create a Lab color space.The blackPoint defaults to [0.0, 0.0, 0.0].
The range defaults to [-100 100 -100 100]
- Parameters:
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.
-
-
Method Details
-
delete
public void delete()- Overrides:
deletein classColorSpace
-
getWhitePoint
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. -
getBlackPoint
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. -
getRange
An array of four numbers [ amin amax bmin bmax ] specifying the range of valid values for the a* and b* (B and C) components of the color space.
-