|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<TDataObject>
org.pdfclown.documents.contents.colorSpaces.Color<PdfArray>
org.pdfclown.documents.contents.colorSpaces.IndexedColor
@PDF(value=PDF11) public final class IndexedColor
Indexed color value [PDF:1.6:4.5.5].
| Field Summary | |
|---|---|
static IndexedColor |
Default
|
| Constructor Summary | |
|---|---|
IndexedColor(int index)
|
|
| Method Summary | |
|---|---|
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
static IndexedColor |
get(PdfArray components)
Gets the color corresponding to the specified components. |
List<PdfDirectObject> |
getComponents()
Gets the components defining this color value. |
int |
getIndex()
Gets the color index. |
void |
setIndex(int value)
|
| Methods inherited from class org.pdfclown.documents.contents.colorSpaces.Color |
|---|
getColorSpace, normalizeComponent |
| Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
|---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IndexedColor Default
| Constructor Detail |
|---|
public IndexedColor(int index)
| Method Detail |
|---|
public static IndexedColor get(PdfArray components)
components - Color components to convert.public Object clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfArray>context - Which document the clone has to be registered in.public List<PdfDirectObject> getComponents()
Color
getComponents in class Color<PdfArray>public int getIndex()
public void setIndex(int value)
getIndex()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||