DeviceNColorSpace Class
A DeviceN color space that defines multiple custom colorants.
Declaration
public class DeviceNColorSpace extends ColorSpace
Inherited Members
Inheritance
DeviceNColorSpace(String[] names, ColorSpace alternateColorSpace, CustomFunction tintTransform)
Initializes a new instance of the DeviceNColorSpace class with specified colorants, alternate color space, and tint transform.
Declaration
public DeviceNColorSpace(String[] names, ColorSpace alternateColorSpace, CustomFunction tintTransform)
Parameters
| Name | Type | Description |
|---|---|---|
| names | java.lang.String[] | The names of colorants in this color space. |
| alternateColorSpace | ColorSpace | The alternate color space used to define the color values. |
| tintTransform | CustomFunction | The function that transforms tint values into components of the alternate color space. |
Methods
getAlternateColorSpace() Method
Returns the alternate color space used to define the color values.
Declaration
public ColorSpace getAlternateColorSpace()
Returns
| Type | Description |
|---|---|
| ColorSpace | The alternate color space used to define the color values. |
getComponentsCount() Method
Returns the number of color components in this color space.
Declaration
public int getComponentsCount()
Returns
| Type | Description |
|---|---|
| int | The number of colorants defined in the Names array. |
getNames() Method
Returns the names of colorants in this color space.
Declaration
public String[] getNames()
Returns
| Type | Description |
|---|---|
| java.lang.String[] | The names of colorants in this color space. |
getTintTransform() Method
Returns the function that transforms tint values into components of the alternate color space.
Declaration
public CustomFunction getTintTransform()
Returns
| Type | Description |
|---|---|
| CustomFunction | The function that transforms tint values into components of the alternate color space. |
setAlternateColorSpace(ColorSpace value) Method
Sets the alternate color space used to define the color values.
Declaration
public void setAlternateColorSpace(ColorSpace value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | ColorSpace | The alternate color space used to define the color values. |
setNames(String[] value) Method
Sets the names of colorants in this color space.
Declaration
public void setNames(String[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | java.lang.String[] | The names of colorants in this color space. |
setTintTransform(CustomFunction value) Method
Sets the function that transforms tint values into components of the alternate color space.
Declaration
public void setTintTransform(CustomFunction value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | CustomFunction | The function that transforms tint values into components of the alternate color space. |