|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<TDataObject> org.pdfclown.documents.contents.colorSpaces.ColorSpace<PdfArray> org.pdfclown.documents.contents.colorSpaces.ICCBasedColorSpace
@PDF(value=PDF13) public final class ICCBasedColorSpace
ICC-based color space [PDF:1.6:4.5.4].
Method Summary | |
---|---|
ICCBasedColorSpace |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
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]. |
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. |
PdfStream |
getProfile()
|
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 ICCBasedColorSpace clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfArray>
context
- Which document the clone has to be registered in.public Color<?> 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.public PdfStream getProfile()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |