org.pdfclown.documents.contents.colorSpaces
Class DeviceNColor
java.lang.Object
org.pdfclown.objects.PdfObjectWrapper<TDataObject>
org.pdfclown.documents.contents.colorSpaces.Color<PdfArray>
org.pdfclown.documents.contents.colorSpaces.LeveledColor
org.pdfclown.documents.contents.colorSpaces.DeviceNColor
- All Implemented Interfaces:
- Cloneable, IPdfObjectWrapper
@PDF(value=PDF13)
public final class DeviceNColor
- extends LeveledColor
DeviceN color value [PDF:1.6:4.5.5].
- Version:
- 0.1.2, 02/04/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
|
Method Summary |
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
static DeviceNColor |
get(PdfArray components)
Gets the color corresponding to the specified components. |
| Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
checkCompatibility, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
DeviceNColor
public DeviceNColor(double... components)
get
public static DeviceNColor get(PdfArray components)
- Gets the color corresponding to the specified components.
- Parameters:
components - Color components to convert.
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.
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.