PDF Clown
0.1.2

org.pdfclown.documents.contents.colorSpaces
Class DeviceColor

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.DeviceColor
All Implemented Interfaces:
Cloneable, IPdfObjectWrapper
Direct Known Subclasses:
DeviceCMYKColor, DeviceGrayColor, DeviceRGBColor

public abstract class DeviceColor
extends LeveledColor

Device color value [PDF:1.6:4.5.3].

Version:
0.1.0
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
protected DeviceColor(DeviceColorSpace colorSpace, PdfDirectObject baseObject)
           
 
Method Summary
static DeviceColor get(PdfArray components)
          Gets the color corresponding to the specified components.
 
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, clone, 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

DeviceColor

protected DeviceColor(DeviceColorSpace colorSpace,
                      PdfDirectObject baseObject)
Method Detail

get

public static DeviceColor get(PdfArray components)
Gets the color corresponding to the specified components.

Parameters:
components - Color components to convert.
Since:
0.1.0

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.