PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents.colorSpaces
Class DeviceRGBColorSpace

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDirectObject>
      extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.ColorSpace
          extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.DeviceColorSpace
              extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.DeviceRGBColorSpace

public class DeviceRGBColorSpace
extends DeviceColorSpace

Device Red-Green-Blue color space [PDF:1.6:4.5.3].

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

Field Summary
static DeviceRGBColorSpace Default
           
 
Constructor Summary
DeviceRGBColorSpace(Document context)
           
 
Method Summary
 DeviceRGBColorSpace clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 Color getColor(PdfDirectObject[] components)
           
 Color getDefaultColor()
           
 
Methods inherited from class it.stefanochizzolini.clown.documents.contents.colorSpaces.ColorSpace
wrap, wrap
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Default

public static final DeviceRGBColorSpace Default
Constructor Detail

DeviceRGBColorSpace

public DeviceRGBColorSpace(Document context)
Method Detail

clone

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

Specified by:
clone in class PdfObjectWrapper<PdfDirectObject>
Parameters:
context - Which document the clone has to be registered in.

getColor

public Color getColor(PdfDirectObject[] components)
Specified by:
getColor in class ColorSpace

getDefaultColor

public Color getDefaultColor()
Specified by:
getDefaultColor in class ColorSpace

PDF Clown
0.0.8

Project home page

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