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 TypeMethodDescriptionbooleanprivate static doublefXyz(double t) getPdfObject(PdfWriter writer) inthashCode()(package private) CMYKColorlab2Cmyk(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:
getPdfObjectin interfaceICachedColorSpace
-
lab2Rgb
-
lab2Cmyk
-
lab2RgbLinear
protected double[] lab2RgbLinear(float l, float a, float b) -
rgb2lab
-
fXyz
private static double fXyz(double t) -
equals
- Specified by:
equalsin interfaceICachedColorSpace- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceICachedColorSpace- Overrides:
hashCodein classObject
-