it.stefanochizzolini.clown.documents.contents.colorSpaces
Class ColorSpace
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDirectObject>
it.stefanochizzolini.clown.documents.contents.colorSpaces.ColorSpace
- Direct Known Subclasses:
- CIEBasedColorSpace, DeviceColorSpace, ICCBasedColorSpace
public abstract class ColorSpace
- extends PdfObjectWrapper<PdfDirectObject>
Color space [PDF:1.6:4.5].
- Version:
- 0.0.4
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorSpace
protected ColorSpace(Document context,
PdfDirectObject baseDataObject)
ColorSpace
protected ColorSpace(PdfDirectObject baseObject,
PdfIndirectObject container)
wrap
public static ColorSpace wrap(PdfReference reference)
- Wraps a color space reference into a color space object.
- Parameters:
reference
- Reference to a color space object.
- Returns:
- Color space object associated to the reference.
wrap
public static ColorSpace wrap(PdfDirectObject baseObject,
PdfIndirectObject container)
- Wraps a color space base object into a color space object.
- Parameters:
baseObject
- Base object of a color space object.container
- Indirect object possibly containing the color space
base object.
- Returns:
- Color space object associated to the base object.
getColor
public abstract Color getColor(PdfDirectObject[] components)
getDefaultColor
public abstract Color getDefaultColor()
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.