Ink Class Documentation

class Ink

Namespace:com::datalogics::PDFL

Detailed Description

The ink object represents the color in the color space, CYMK or RGB.

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

finalize

void finalize()

Returns:

void

getAlias

String getAlias()

Returns:

String

An alternate name (alias) for this colorant.

getAngle

double getAngle()

Returns:

double

The halftone screen angle for this ink, in degrees.

getBlack

double getBlack()

Returns:

double

The black component of the CMYK color swatch.

getBlue

int getBlue()

Returns:

int

The blue component of the RGB color swatch for on-screen display.

getColorantName

String getColorantName()

Returns:

String

The name of the colorant from the Separation or DeviceN color space, or the process color name.

getColorantNameArray

byte[] getColorantNameArray()

Returns:

byte[]

The name of the colorant as a byte array. The name of the colorant from the Separation or DeviceN color space, or the process color name. This property is suitable for retrieving the name when the ColorantName cannot be retrieved as a string.

getCyan

double getCyan()

Returns:

double

The cyan component of the CMYK color swatch.

getDensity

double getDensity()

Returns:

double

The neutral density of this ink.

getFrequency

double getFrequency()

Returns:

double

The halftone screen frequency for this ink, in lines per inch.

getGreen

int getGreen()

Returns:

int

The green component of the RGB color swatch for on-screen display.

getInkType

InkTypes getInkType()

Returns:

InkTypes

The ink type of this ink, used for trapping.

getIsProcessColor

boolean getIsProcessColor()

Returns:

boolean

Whether this ink represents a process color or a spot color. True if this is a process color, false if this is a spot color.

getMagenta

double getMagenta()

Returns:

double

The magenta component of the CMYK color swatch.

getPreviewOption

SeparationPreviewOptions getPreviewOption()

Returns:

SeparationPreviewOptions

How the colorant is handled during a separation preview.

getRed

int getRed()

Returns:

int

The red component of the RGB color swatch for on-screen display.

getYellow

double getYellow()

Returns:

double

The yellow component of the CMYK color swatch.

setAlias

void setAlias(String theAlias)

Parameters

theAlias: String

Returns:

void

An alternate name (alias) for this colorant.

setAngle

void setAngle(double theAngle)

Parameters

theAngle: double

Returns:

void

The halftone screen angle for this ink, in degrees.

setColorantName

void setColorantName(String theColorantName)

Parameters

theColorantName: String

Returns:

void

The name of the colorant from the Separation or DeviceN color space, or the process color name.

setDensity

void setDensity(double theDensity)

Parameters

theDensity: double

Returns:

void

The neutral density of this ink.

setFrequency

void setFrequency(double theFrequency)

Parameters

theFrequency: double

Returns:

void

The halftone screen frequency for this ink, in lines per inch.

setInkType

void setInkType(InkTypes theInkType)

Parameters

theInkType: InkTypes

Returns:

void

The ink type of this ink, used for trapping.

setIsProcessColor

void setIsProcessColor(boolean theSetting)

Parameters

theSetting: boolean

Returns:

void

Whether this ink represents a process color or a spot color. True if this is a process color, false if this is a spot color.

setPreviewOption

void setPreviewOption(SeparationPreviewOptions thePreviewOption)

Parameters

thePreviewOption: SeparationPreviewOptions

Returns:

void

How the colorant is handled during a separation preview.