Skip to main content

DeviceNColorSpace Class

A DeviceN color space that defines multiple custom colorants.

Declaration

public class DeviceNColorSpace extends ColorSpace

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
ColorSpace
DeviceNColorSpace

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.