Ink

An ink.

Properties

Property Type Access Description
aliasInkName string r/w The ink object to map this ink to.
angle number r/w The angle of the ink. (Range: 0 to 360)
convertToProcess bool r/w Converts spot inks to process inks.
frequency number r/w The frequency of the ink. (Range: 1 to 500)
id number readonly The unique ID of the Ink.
index number readonly The index of the Ink within its containing object.
inkType InkTypes
:
NORMAL
OPAQUE
TRANSPARENT
OPAQUE_IGNORE
r/w The trapping type of the ink.
isProcessInk bool readonly If true, the ink is a process ink.
label string r/w A property that can be set to any string.
name string readonly The name of the Ink.
neutralDensity number r/w The neutral density of the ink. (Range: 0.001 to 10.0)
parent any readonly The parent of the Ink (a Application or Document).
printInk bool r/w If true, prints the ink.
properties Object r/w A property that allows setting of several properties at the same time.
solidity number readonly The solidity value of the ink. (Range: 0.0 to 1.0)
trapOrder number r/w The place of the ink in the trapping sequence.

Methods

string extractLabel (key:
string)
Gets the label value associated with the specified key.

Parameter Type Description
key string The key.

Array of InkgetElements ()
Resolves the object specifier, creating an array of object references.

void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.

Parameter Type Description
key string The key.
value string The value.

string toSource ()
Generates a string which, if executed, will return the Ink.

string toSpecifier ()
Retrieves the object specifier.

Element of:

MixedInk.inkList
MixedInkGroup.inkList

Used in:

Inks.previousItem (

obj:
Ink )

Inks.nextItem (

obj:
Ink )

MixedInkGroups.add (

inkList:
Array of Ink [, inkPercentages:
Array of number][, repeatValues:
Array of number][, incrementValues:
Array of number][, withProperties:
Object])

Returned by:

Array of Ink Ink .getElements (

)

Ink Inks.anyItem (

)

Array of Ink Inks.everyItem (

)

Ink Inks.firstItem (

)

Ink Inks.item (
index:
any
)

Ink Inks.itemByID (
id:
number
)

Ink Inks.itemByName (
name:
string
)

Array of Ink Inks.itemByRange (
from:
any, to:
any
)

Ink Inks.lastItem (

)

Ink Inks.middleItem (

)

Ink Inks.nextItem (
obj:
Ink
)

Ink Inks.previousItem (
obj:
Ink
)

Leave a Comment

Previous post:

Next post: