|
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<PdfArray>
org.pdfclown.documents.contents.colorSpaces.CIEBasedColorSpace
org.pdfclown.documents.contents.colorSpaces.CalColorSpace
org.pdfclown.documents.contents.colorSpaces.CalGrayColorSpace
@PDF(value=PDF11) public final class CalGrayColorSpace
CIE-based A single-transformation-stage color space, where A represents a calibrated achromatic single-component color value [PDF:1.6:4.5.4].
| Method Summary | |
|---|---|
CalGrayColorSpace |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
CalGrayColor |
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. |
CalGrayColor |
getDefaultColor()
Gets the initial color value within this color space. |
double[] |
getGamma()
Gets the gamma of 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.CIEBasedColorSpace |
|---|
getBlackPoint, getDictionary, getWhitePoint |
| 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 CalGrayColorSpace clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfArray>context - Which document the clone has to be registered in.
public CalGrayColor 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 CalGrayColor getDefaultColor()
ColorSpace
getDefaultColor in class ColorSpace<PdfArray>public double[] getGamma()
CalColorSpace
getGamma in class CalColorSpacepublic Paint getPaint(Color<?> color)
ColorSpace
getPaint in class ColorSpace<PdfArray>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 | |||||||||