|
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.ColorSpace<TDataObject>
org.pdfclown.documents.contents.colorSpaces.SpecialColorSpace<PdfArray>
org.pdfclown.documents.contents.colorSpaces.IndexedColorSpace
@PDF(value=PDF11) public final class IndexedColorSpace
Indexed color space [PDF:1.6:4.5.5].
| Method Summary | |
|---|---|
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
Color<?> |
getBaseColor(IndexedColor color)
Gets the color corresponding to the specified table index resolved according to the base space. |
ColorSpace<?> |
getBaseSpace()
Gets the base color space in which the values in the color table are to be interpreted. |
IndexedColor |
getColor(List<PdfDirectObject> components,
IContentContext context)
Gets the color value corresponding to the specified components interpreted according to this color space [PDF:1.6:4.5.1]. |
int |
getComponentCount()
Gets the number of components used to represent a color value. |
Color<?> |
getDefaultColor()
Gets the initial color value within this color space. |
Paint |
getPaint(Color<?> color)
Gets the rendering representation of the specified color value. |
| Methods inherited from class org.pdfclown.documents.contents.colorSpaces.ColorSpace |
|---|
wrap |
| 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 |
| Method Detail |
|---|
public Object clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfArray>context - Which document the clone has to be registered in.public Color<?> getBaseColor(IndexedColor color)
base space.
public ColorSpace<?> getBaseSpace()
public IndexedColor getColor(List<PdfDirectObject> components,
IContentContext context)
ColorSpace
getColor in class ColorSpace<PdfArray>components - Color components.context - Content context.public int getComponentCount()
ColorSpace
getComponentCount in class ColorSpace<PdfArray>public Color<?> getDefaultColor()
ColorSpace
getDefaultColor in class ColorSpace<PdfArray>public Paint getPaint(Color<?> color)
ColorSpace
getPaint in class ColorSpace<PdfArray>color - Color value to convert into an equivalent rendering representation.
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||