Package com.itextpdf.kernel.colors
Class Lab
- java.lang.Object
-
- com.itextpdf.kernel.colors.Color
-
- com.itextpdf.kernel.colors.Lab
-
public class Lab extends Color
Representation of a lab color space.
-
-
Field Summary
-
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
-
Constructor Summary
Constructors Constructor Description Lab(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 Detail
-
Lab
public Lab(PdfCieBasedCs.Lab cs)
Creates a lab color using the givenPdfCieBasedCs
color space.- Parameters:
cs
- Color space
-
Lab
public Lab(PdfCieBasedCs.Lab cs, float[] value)
Creates a lab color using the givenPdfCieBasedCs
color 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
-
-