PDF Clown
0.0.8

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

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.DeviceGrayColorSpace

public class DeviceGrayColorSpace
extends DeviceColorSpace

Device Gray color space [PDF:1.6:4.5.3].

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

Field Summary
static DeviceGrayColorSpace Default
           
 
Constructor Summary
DeviceGrayColorSpace(Document context)
           
 
Method Summary
 DeviceGrayColorSpace 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 DeviceGrayColorSpace Default
Constructor Detail

DeviceGrayColorSpace

public DeviceGrayColorSpace(Document context)
Method Detail

clone

public DeviceGrayColorSpace 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.