|
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<PdfName>
org.pdfclown.documents.contents.colorSpaces.DeviceColorSpace
org.pdfclown.documents.contents.colorSpaces.DeviceGrayColorSpace
@PDF(value=PDF11) public final class DeviceGrayColorSpace
Device Gray color space [PDF:1.6:4.5.3].
| Field Summary | |
|---|---|
static DeviceGrayColorSpace |
Default
|
| Constructor Summary | |
|---|---|
DeviceGrayColorSpace(Document context)
|
|
| Method Summary | |
|---|---|
DeviceGrayColorSpace |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
DeviceGrayColor |
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. |
DeviceGrayColor |
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 DeviceGrayColorSpace Default
| Constructor Detail |
|---|
public DeviceGrayColorSpace(Document context)
| Method Detail |
|---|
public DeviceGrayColorSpace clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfName>context - Which document the clone has to be registered in.
public DeviceGrayColor 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 DeviceGrayColor 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 | |||||||||