|
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>
public abstract class ColorSpace<TDataObject extends PdfDirectObject>
Color space [PDF:1.6:4.5].
| Constructor Summary | |
|---|---|
protected |
ColorSpace(Document context,
TDataObject baseDataObject)
|
protected |
ColorSpace(PdfDirectObject baseObject)
|
| Method Summary | |
|---|---|
abstract Color<?> |
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]. |
abstract int |
getComponentCount()
Gets the number of components used to represent a color value. |
abstract Color<?> |
getDefaultColor()
Gets the initial color value within this color space. |
abstract Paint |
getPaint(Color<?> color)
Gets the rendering representation of the specified color value. |
static ColorSpace<?> |
wrap(PdfDirectObject baseObject)
Wraps the specified color space base object into a color space object. |
| Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
|---|
checkCompatibility, clone, 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 |
| Constructor Detail |
|---|
protected ColorSpace(Document context,
TDataObject baseDataObject)
protected ColorSpace(PdfDirectObject baseObject)
| Method Detail |
|---|
public static ColorSpace<?> wrap(PdfDirectObject baseObject)
baseObject - Base object of a color space object.
public abstract Color<?> getColor(List<PdfDirectObject> components,
IContentContext context)
components - Color components.context - Content context.public abstract int getComponentCount()
public abstract Color<?> getDefaultColor()
public abstract Paint getPaint(Color<?> color)
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 | |||||||||