public class DeviceNColorSpace extends ColorSpace
DEVICE_CMYK, DEVICE_GRAY, DEVICE_RGB, DEVICE_RGBA, LAB, LAB_A| Constructor and Description |
|---|
DeviceNColorSpace(java.util.List<java.lang.String> names,
ColorSpace alternate,
Function tintTransform)
Create a DeviceN 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).
|
PDFDict |
getAttributes()
The dictionary of extended attributes associated with the color space.
|
Function |
getFunction()
A function, called with the tint value and returning the corresponding color component values.
|
java.util.List<java.lang.String> |
getNames()
the names of the colorant that the DeviceN space is intended to represent, some of which may be All or None.
|
equals, getName, getNumComponents, getPDFObject, toStringpublic DeviceNColorSpace(java.util.List<java.lang.String> names,
ColorSpace alternate,
Function tintTransform)
names - the names of the colorants that the DeviceN space is intended to represent, among which may be 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 void delete()
delete in class ColorSpacepublic java.util.List<java.lang.String> getNames()
public ColorSpace getAlternate()
public Function getFunction()
public PDFDict getAttributes()