org.pdfclown.documents.contents.colorSpaces
Class LeveledColor
java.lang.Object
org.pdfclown.objects.PdfObjectWrapper<TDataObject>
org.pdfclown.documents.contents.colorSpaces.Color<PdfArray>
org.pdfclown.documents.contents.colorSpaces.LeveledColor
- All Implemented Interfaces:
- Cloneable, IPdfObjectWrapper
- Direct Known Subclasses:
- CalGrayColor, CalRGBColor, DeviceColor, DeviceNColor, LabColor, SeparationColor
public abstract class LeveledColor
- extends Color<PdfArray>
Color value defined by numeric-level components.
- Version:
- 0.1.2, 02/04/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
checkCompatibility, clone, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
LeveledColor
protected LeveledColor(ColorSpace<?> colorSpace,
PdfDirectObject baseObject)
equals
public final boolean equals(Object object)
- Overrides:
equals
in class PdfObjectWrapper<PdfArray>
getComponents
public final List<PdfDirectObject> getComponents()
- Description copied from class:
Color
- Gets the components defining this color value.
- Specified by:
getComponents
in class Color<PdfArray>
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
getComponentValue
protected final double getComponentValue(int index)
- Gets the specified color component.
- Parameters:
index
- Component index.
setComponentValue
protected final void setComponentValue(int index,
double value)
- See Also:
getComponentValue(int)
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.