public class SeparationColorSpace extends ColorSpace
DEVICE_CMYK, DEVICE_GRAY, DEVICE_RGB, DEVICE_RGBA, LAB, LAB_A| Constructor and Description |
|---|
SeparationColorSpace(Page page,
Ink ink)
Create a separation color space from page's Ink.
|
SeparationColorSpace(java.lang.String separationName,
ColorSpace alternate,
Function tintTransform)
Create a separation color space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
ColorSpace |
getAlternate()
the alternate color space, which can be any device or CIE-based color space but not another special color space (Pattern, Indexed, Separation, or DeviceN).
|
Function |
getFunction()
A function, called with the tint value and returning the corresponding color component values.
|
java.lang.String |
getSeparationName()
the name of the colorant that the Separation space is intended to represent, or All, or None.
|
byte[] |
getSeparationNameArray()
The name of the colorant that the Separation space is intended to represent, or All, or None NOTE: This property is suitable for retrieving the name when the SeparationName can't be retrieved as a string.
|
equals, getName, getNumComponents, getPDFObject, toStringpublic SeparationColorSpace(java.lang.String separationName,
ColorSpace alternate,
Function tintTransform)
separationName - the name of the colorant that the Separation space is intended to represent, or All, or Nonealternate - the alternate color space, which can be any device or CIE-based color space but not another special color space (Pattern, Indexed, Separation, or DeviceN).tintTransform - function, called with the tint value and returning the corresponding color component values. That is, the number of components and the interpretation of their values depend on the alternate color space.public SeparationColorSpace(Page page, Ink ink)
page - Page, that contains an inkink - Represents an ink used in a pagepublic void delete()
delete in class ColorSpacepublic java.lang.String getSeparationName()
public ColorSpace getAlternate()
public Function getFunction()
public byte[] getSeparationNameArray()