SeparationColorSpace Class
A Separation color space in a PDF document.
Declaration
public class SeparationColorSpace extends ColorSpace
Remarks
A Separation color space defines a single colorant, such as a spot color. It specifies the colorant name, an alternate color space, and a tint transform function that converts tint values to the alternate color space when the output device does not support the spot color.
Inherited Members
Inheritance
SeparationColorSpace(String name, ColorSpace alternateColorSpace, CustomFunction tintTransform)
Initializes a new instance of the SeparationColorSpace class with specified colorant name, alternate color space, and tint transform function.
Declaration
public SeparationColorSpace(String name, ColorSpace alternateColorSpace, CustomFunction tintTransform)
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | The colorant name. |
| alternateColorSpace | ColorSpace | The alternate color space. |
| tintTransform | CustomFunction | The tint transform function. |
Methods
getAlternateColorSpace() Method
Returns the alternate color space.
Declaration
public ColorSpace getAlternateColorSpace()
Returns
| Type | Description |
|---|---|
| ColorSpace | The alternate color space. |
getComponentsCount() Method
Returns the number of color components in the separation color space.
Declaration
public int getComponentsCount()
Returns
| Type | Description |
|---|---|
| int | The number of color components. Always returns |
getName() Method
Returns the name of the colorant.
Declaration
public String getName()
Returns
| Type | Description |
|---|---|
| String | The colorant name. |
getTintTransform() Method
Returns the tint transform function.
Declaration
public CustomFunction getTintTransform()
Returns
| Type | Description |
|---|---|
| CustomFunction | The tint transform function. |
setAlternateColorSpace(ColorSpace value) Method
Sets the alternate color space.
Declaration
public void setAlternateColorSpace(ColorSpace value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | ColorSpace | The alternate color space. |
setName(String value) Method
Sets the name of the colorant.
Declaration
public void setName(String value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | The colorant name. |
setTintTransform(CustomFunction value) Method
Sets the tint transform function.
Declaration
public void setTintTransform(CustomFunction value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | CustomFunction | The tint transform function. |