Package com.itextpdf.kernel.colors
Class Lab
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.Lab
Representation of a lab color space.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
Constructor Summary
ConstructorDescriptionLab
(float[] whitePoint, float[] value) Creates a lab color using the given white point and color values.Lab
(float[] whitePoint, float[] blackPoint, float[] range, float[] value) Creates a lab color using the given white point, black point and color values.Lab
(PdfCieBasedCs.Lab cs) Creates a lab color using the givenPdfCieBasedCs
color space.Lab
(PdfCieBasedCs.Lab cs, float[] value) Creates a lab color using the givenPdfCieBasedCs
color space and color values. -
Method Summary
Methods inherited from class com.itextpdf.kernel.colors.Color
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, equals, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor, setColorValue
-
Constructor Details
-
Lab
Creates a lab color using the givenPdfCieBasedCs
color space.- Parameters:
-
cs
- Color space
-
Lab
Creates a lab color using the givenPdfCieBasedCs
color space and color values.- Parameters:
-
cs
- Color space -
value
- Color values
-
Lab
public Lab(float[] whitePoint, float[] value) Creates a lab color using the given white point and color values.- Parameters:
-
whitePoint
- Color values for defining the white point -
value
- Color values
-
Lab
public Lab(float[] whitePoint, float[] blackPoint, float[] range, float[] value) Creates a lab color using the given white point, black point and color values.- Parameters:
-
whitePoint
- Color values for defining the white point -
blackPoint
- Color values for defining the black point -
range
- Range for color -
value
- Color values
-