Ink Class Documentation

classInk

Namespace:com::datalogics::PDFL

Detailed Description

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

Member Function Documentation

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getAlias

StringgetAlias()

Returns:

String

An alternate name (alias) for this colorant.

getAngle

doublegetAngle()

Returns:

double

The halftone screen angle for this ink, in degrees.

getBlack

doublegetBlack()

Returns:

double

The black component of the CMYK color swatch.

getBlue

intgetBlue()

Returns:

int

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

getColorantName

StringgetColorantName()

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

doublegetCyan()

Returns:

double

The cyan component of the CMYK color swatch.

getDensity

doublegetDensity()

Returns:

double

The neutral density of this ink.

getFrequency

doublegetFrequency()

Returns:

double

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

getGreen

intgetGreen()

Returns:

int

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

getInkType

InkTypesgetInkType()

Returns:

InkTypes

The ink type of this ink, used for trapping.

getIsProcessColor

booleangetIsProcessColor()

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

doublegetMagenta()

Returns:

double

The magenta component of the CMYK color swatch.

getPreviewOption

SeparationPreviewOptionsgetPreviewOption()

Returns:

SeparationPreviewOptions

How the colorant is handled during a separation preview.

getRed

intgetRed()

Returns:

int

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

getYellow

doublegetYellow()

Returns:

double

The yellow component of the CMYK color swatch.

setAlias

voidsetAlias(StringtheAlias)

Parameters

theAlias: String

Returns:

void

An alternate name (alias) for this colorant.

setAngle

voidsetAngle(doubletheAngle)

Parameters

theAngle: double

Returns:

void

The halftone screen angle for this ink, in degrees.

setColorantName

voidsetColorantName(StringtheColorantName)

Parameters

theColorantName: String

Returns:

void

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

setDensity

voidsetDensity(doubletheDensity)

Parameters

theDensity: double

Returns:

void

The neutral density of this ink.

setFrequency

voidsetFrequency(doubletheFrequency)

Parameters

theFrequency: double

Returns:

void

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

setInkType

voidsetInkType(InkTypestheInkType)

Parameters

theInkType: InkTypes

Returns:

void

The ink type of this ink, used for trapping.

setIsProcessColor

voidsetIsProcessColor(booleantheSetting)

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

voidsetPreviewOption(SeparationPreviewOptionsthePreviewOption)

Parameters

thePreviewOption: SeparationPreviewOptions

Returns:

void

How the colorant is handled during a separation preview.