Package com.itextpdf.text.pdf
Class PdfLabColor
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfLabColor
-
- All Implemented Interfaces:
ICachedColorSpace
public class PdfLabColor extends Object implements ICachedColorSpace
-
-
Constructor Summary
Constructors Constructor Description PdfLabColor()
PdfLabColor(float[] whitePoint)
PdfLabColor(float[] whitePoint, float[] blackPoint)
PdfLabColor(float[] whitePoint, float[] blackPoint, float[] range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
PdfObject
getPdfObject(PdfWriter writer)
int
hashCode()
BaseColor
lab2Rgb(float l, float a, float b)
protected double[]
lab2RgbLinear(float l, float a, float b)
LabColor
rgb2lab(BaseColor baseColor)
-
-
-
Method Detail
-
getPdfObject
public PdfObject getPdfObject(PdfWriter writer)
- Specified by:
getPdfObject
in interfaceICachedColorSpace
-
lab2Rgb
public BaseColor lab2Rgb(float l, float a, float b)
-
lab2RgbLinear
protected double[] lab2RgbLinear(float l, float a, float b)
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceICachedColorSpace
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceICachedColorSpace
- Overrides:
hashCode
in classObject
-
-