Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| PDF Clown 0.1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Constructor Summary
`protected` | `LeveledColor(ColorSpace<?> colorSpace, PdfDirectObject baseObject)`

Method Summary
`boolean` | `equals(Object object)`
`List<PdfDirectObject>` | `getComponents()` Gets the components defining this color value.
`protected double` | `getComponentValue(int index)` Gets the specified color component.
`int` | `hashCode()`
`protected void` | `setComponentValue(int index, double value)`

Methods inherited from class org.pdfclown.documents.contents.colorSpaces.Color
`getColorSpace, normalizeComponent`

Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
`checkCompatibility, clone, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LeveledColor

    protected LeveledColor(ColorSpace<?> colorSpace,
                           PdfDirectObject baseObject)

Method Detail

### 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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| PDF Clown 0.1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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