PDF Clown
0.1.2

org.pdfclown.documents.contents.colorSpaces
Class LabColor

java.lang.Object
  extended by org.pdfclown.objects.PdfObjectWrapper<TDataObject>
      extended by org.pdfclown.documents.contents.colorSpaces.Color<PdfArray>
          extended by org.pdfclown.documents.contents.colorSpaces.LeveledColor
              extended by org.pdfclown.documents.contents.colorSpaces.LabColor
All Implemented Interfaces:
Cloneable, IPdfObjectWrapper

@PDF(value=PDF11)
public final class LabColor
extends LeveledColor

CIE-based L*a*b* color value [PDF:1.6:4.5.4].

Since:
0.1.0
Version:
0.1.2, 02/04/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
LabColor(double l, double a, double b)
           
 
Method Summary
 Object clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 double getA()
          Gets the second component (a*).
 double getB()
          Gets the third component (b*).
 double getL()
          Gets the first component (L*).
 void setA(double value)
           
 void setB(double value)
           
 void setL(double value)
           
 
Methods inherited from class org.pdfclown.documents.contents.colorSpaces.LeveledColor
equals, getComponents, getComponentValue, hashCode, setComponentValue
 
Methods inherited from class org.pdfclown.documents.contents.colorSpaces.Color
getColorSpace, normalizeComponent
 
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
checkCompatibility, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabColor

public LabColor(double l,
                double a,
                double b)
Method Detail

clone

public Object clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Overrides:
clone in class PdfObjectWrapper<PdfArray>
Parameters:
context - Which document the clone has to be registered in.

getA

public double getA()
Gets the second component (a*).


getB

public double getB()
Gets the third component (b*).


getL

public double getL()
Gets the first component (L*).


setA

public void setA(double value)
See Also:
getA()

setB

public void setB(double value)
See Also:
getB()

setL

public void setL(double value)
See Also:
getL()

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.