|
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<TDataObject> org.pdfclown.documents.contents.colorSpaces.SpecialColorSpace<PdfArray> org.pdfclown.documents.contents.colorSpaces.SpecialDeviceColorSpace org.pdfclown.documents.contents.colorSpaces.DeviceNColorSpace
@PDF(value=PDF13) public final class DeviceNColorSpace
Special color space that can contain an arbitrary number of color components [PDF:1.6:4.5.5].
Field Summary |
---|
Fields inherited from class org.pdfclown.documents.contents.colorSpaces.SpecialDeviceColorSpace |
---|
NoneComponentName |
Method Summary | |
---|---|
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
DeviceNColor |
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. |
List<String> |
getComponentNames()
Gets the names of the color components. |
DeviceNColor |
getDefaultColor()
Gets the initial color value within this color space. |
Methods inherited from class org.pdfclown.documents.contents.colorSpaces.SpecialDeviceColorSpace |
---|
getAlternateSpace, getPaint, getTintFunction |
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 DeviceNColor getColor(List<PdfDirectObject> components, IContentContext context)
ColorSpace
getColor
in class ColorSpace<PdfArray>
components
- Color components.context
- Content context.public DeviceNColor getDefaultColor()
ColorSpace
getDefaultColor
in class ColorSpace<PdfArray>
public int getComponentCount()
ColorSpace
getComponentCount
in class ColorSpace<PdfArray>
public List<String> getComponentNames()
SpecialDeviceColorSpace
getComponentNames
in class SpecialDeviceColorSpace
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |