|
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<PdfName> org.pdfclown.documents.contents.colorSpaces.DeviceColorSpace org.pdfclown.documents.contents.colorSpaces.DeviceCMYKColorSpace
@PDF(value=PDF11) public final class DeviceCMYKColorSpace
Device Cyan-Magenta-Yellow-Key color space [PDF:1.6:4.5.3].
Field Summary | |
---|---|
static DeviceCMYKColorSpace |
Default
|
Constructor Summary | |
---|---|
DeviceCMYKColorSpace(Document context)
|
Method Summary | |
---|---|
DeviceCMYKColorSpace |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
DeviceCMYKColor |
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. |
DeviceCMYKColor |
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 |
Field Detail |
---|
public static final DeviceCMYKColorSpace Default
Constructor Detail |
---|
public DeviceCMYKColorSpace(Document context)
Method Detail |
---|
public DeviceCMYKColorSpace clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfName>
context
- Which document the clone has to be registered in.public DeviceCMYKColor getColor(List<PdfDirectObject> components, IContentContext context)
ColorSpace
getColor
in class ColorSpace<PdfName>
components
- Color components.context
- Content context.public int getComponentCount()
ColorSpace
getComponentCount
in class ColorSpace<PdfName>
public DeviceCMYKColor getDefaultColor()
ColorSpace
getDefaultColor
in class ColorSpace<PdfName>
public Paint getPaint(Color<?> color)
ColorSpace
getPaint
in class ColorSpace<PdfName>
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 |