NChannelColorSpace Class
An NChannel color space in a PDF document.
Declaration
public class NChannelColorSpace extends ColorSpace
Remarks
An NChannel color space defines multiple colorants that can be combined into a single color space.
Inherited Members
Inheritance
NChannelColorSpace(String[] names, ColorSpace alternateColorSpace, CustomFunction tintTransform)
Initializes a new instance of the NChannelColorSpace class with specified colorant names, alternate color space, and tint transform function.
Declaration
public NChannelColorSpace(String[] names, ColorSpace alternateColorSpace, CustomFunction tintTransform)
Parameters
| Name | Type | Description |
|---|---|---|
| names | java.lang.String[] | The names of the colorants in the NChannel color space. |
| 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. |
getColorants() Method
Returns the colorants in the NChannel color space.
Declaration
public List<SeparationColorSpace> getColorants()
Returns
| Type | Description |
|---|---|
| java.util.List<SeparationColorSpace> | A list of separation color spaces that define the colorants. |
getComponentsCount() Method
Returns the number of color components in the NChannel color space.
Declaration
public int getComponentsCount()
Returns
| Type | Description |
|---|---|
| int | The number of color components. |
getNames() Method
Returns the names of the colorants in the NChannel color space.
Declaration
public String[] getNames()
Returns
| Type | Description |
|---|---|
| java.lang.String[] | An array of colorant names. |
getProcessColorSpace() Method
Returns the process color space associated with the NChannel color space.
Declaration
public ColorSpace getProcessColorSpace()
Returns
| Type | Description |
|---|---|
| ColorSpace | The process color space. |
getProcessComponentsNames() Method
Returns the names of the process color space components.
Declaration
public String[] getProcessComponentsNames()
Returns
| Type | Description |
|---|---|
| java.lang.String[] | An array of process color space component names. |
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. |
setColorants(List<SeparationColorSpace> value) Method
Sets the colorants in the NChannel color space.
Declaration
public void setColorants(List<SeparationColorSpace> value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | java.util.List<SeparationColorSpace> | An array of colorant names. |
setNames(String[] value) Method
Sets the names of the colorants in the NChannel color space.
Declaration
public void setNames(String[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | java.lang.String[] | An array of colorant names. |
setProcessColorSpace(ColorSpace value) Method
Sets the process color space associated with the NChannel color space.
Declaration
public void setProcessColorSpace(ColorSpace value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | ColorSpace | The process color space. |
setProcessComponentsNames(String[] value) Method
Sets the names of the process color space components.
Declaration
public void setProcessComponentsNames(String[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | java.lang.String[] | An array of process color space component names. |
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. |