com.itextpdf.text.pdf
Class PdfLabColor

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfLabColor
All Implemented Interfaces:
ICachedColorSpace

public class PdfLabColor
extends Object
implements ICachedColorSpace


Constructor Summary
PdfLabColor()
           
PdfLabColor(float[] whitePoint)
           
PdfLabColor(float[] whitePoint, float[] blackPoint)
           
PdfLabColor(float[] whitePoint, float[] blackPoint, float[] range)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getPdfObject

public PdfObject getPdfObject(PdfWriter writer)
Specified by:
getPdfObject in interface ICachedColorSpace

lab2Rgb

public BaseColor lab2Rgb(float l,
                         float a,
                         float b)

lab2RgbLinear

protected double[] lab2RgbLinear(float l,
                                 float a,
                                 float b)

rgb2lab

public LabColor rgb2lab(BaseColor baseColor)

equals

public boolean equals(Object o)
Specified by:
equals in interface ICachedColorSpace
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface ICachedColorSpace
Overrides:
hashCode in class Object


Copyright © 2014. All Rights Reserved.