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 Color
colorSpace, colorValue -
Constructor Summary
ConstructorsConstructorDescriptionLab(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 givenPdfCieBasedCscolor space.Lab(PdfCieBasedCs.Lab cs, float[] value) Creates a lab color using the givenPdfCieBasedCscolor space and color values. -
Method Summary
Methods inherited from class Color
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, equals, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor, setColorValue
-
Constructor Details
-
Lab
Creates a lab color using the givenPdfCieBasedCscolor space.- Parameters:
cs- Color space
-
Lab
Creates a lab color using the givenPdfCieBasedCscolor space and color values.- Parameters:
cs- Color spacevalue- 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 pointvalue- 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 pointblackPoint- Color values for defining the black pointrange- Range for colorvalue- Color values
-