Package com.itextpdf.text.pdf
Class PdfLabColor
java.lang.Object
com.itextpdf.text.pdf.PdfLabColor
- All Implemented Interfaces:
ICachedColorSpace
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) float[]
(package private) float[]
(package private) float[]
-
Constructor Summary
ConstructorsConstructorDescriptionPdfLabColor
(float[] whitePoint) PdfLabColor
(float[] whitePoint, float[] blackPoint) PdfLabColor
(float[] whitePoint, float[] blackPoint, float[] range) -
Method Summary
Modifier and TypeMethodDescriptionboolean
private static double
fXyz
(double t) getPdfObject
(PdfWriter writer) int
hashCode()
(package private) CMYKColor
lab2Cmyk
(float l, float a, float b) lab2Rgb
(float l, float a, float b) protected double[]
lab2RgbLinear
(float l, float a, float b)
-
Field Details
-
whitePoint
float[] whitePoint -
blackPoint
float[] blackPoint -
range
float[] range
-
-
Constructor Details
-
PdfLabColor
public PdfLabColor() -
PdfLabColor
public PdfLabColor(float[] whitePoint) -
PdfLabColor
public PdfLabColor(float[] whitePoint, float[] blackPoint) -
PdfLabColor
public PdfLabColor(float[] whitePoint, float[] blackPoint, float[] range)
-
-
Method Details
-
getPdfObject
- Specified by:
getPdfObject
in interfaceICachedColorSpace
-
lab2Rgb
-
lab2Cmyk
-
lab2RgbLinear
protected double[] lab2RgbLinear(float l, float a, float b) -
rgb2lab
-
fXyz
private static double fXyz(double t) -
equals
- Specified by:
equals
in interfaceICachedColorSpace
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceICachedColorSpace
- Overrides:
hashCode
in classObject
-