|
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.SeparationColorSpace
@PDF(value=PDF12) public final class SeparationColorSpace
Special color space that provides a means for specifying the use of additional colorants or for isolating the control of individual color components of a device color space for a subtractive device [PDF:1.6:4.5.5].
When such a space is the current color space, the current color is a single-component value, called a tint, that controls the application of the given colorant or color components only.
Field Summary | |
---|---|
static String |
AllComponentName
Special colorant name referring collectively to all components available on an output device, including those for the standard process components. |
Fields inherited from class org.pdfclown.documents.contents.colorSpaces.SpecialDeviceColorSpace |
---|
NoneComponentName |
Method Summary | |
---|---|
SeparationColorSpace |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
SeparationColor |
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 name of the colorant that this separation color space is intended to represent. |
SeparationColor |
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 |
Field Detail |
---|
public static final String AllComponentName
When a separation space with this component name is the current color space, painting operators apply tint values to all available components at once.
Method Detail |
---|
public SeparationColorSpace clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfArray>
context
- Which document the clone has to be registered in.public SeparationColor 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 List<String> getComponentNames()
Special names:
getComponentNames
in class SpecialDeviceColorSpace
public SeparationColor getDefaultColor()
ColorSpace
getDefaultColor
in class ColorSpace<PdfArray>
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |