org.icepdf.core.pobjects.graphics
Class Lab

java.lang.Object
  extended by org.icepdf.core.pobjects.Dictionary
      extended by org.icepdf.core.pobjects.graphics.PColorSpace
          extended by org.icepdf.core.pobjects.graphics.Lab

public class Lab
extends PColorSpace

put your documentation comment here


Field Summary
static Name LAB_KEY
           
static Name RANGE_KEY
           
static Name WHITE_POINT_KEY
           
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY
 
Method Summary
 java.awt.Color getColor(float[] f, boolean fillAndStroke)
           
 int getNumComponents()
           
 void normaliseComponentsToFloats(int[] in, float[] out, float maxval)
           
 
Methods inherited from class org.icepdf.core.pobjects.graphics.PColorSpace
getColor, getColorSpace, getColorSpace, getDescription, reverse, reverseInPlace, reverseInPlace
 
Methods inherited from class org.icepdf.core.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LAB_KEY

public static final Name LAB_KEY

WHITE_POINT_KEY

public static final Name WHITE_POINT_KEY

RANGE_KEY

public static final Name RANGE_KEY
Method Detail

getNumComponents

public int getNumComponents()
Specified by:
getNumComponents in class PColorSpace
Returns:

normaliseComponentsToFloats

public void normaliseComponentsToFloats(int[] in,
                                        float[] out,
                                        float maxval)
Overrides:
normaliseComponentsToFloats in class PColorSpace

getColor

public java.awt.Color getColor(float[] f,
                               boolean fillAndStroke)
Specified by:
getColor in class PColorSpace
Parameters:
f -
Returns: