MixedInks

A collection of mixed inks.

Methods

MixedInkadd (inkList:
any, inkPercentages:
Array of number[, withProperties:
Object])
Creates a new mixed ink swatch.

Parameter Type Description
inkList Array of Inks
MixedInkGroup
The inks to mix. Note: Must contain at least two process inks and one spot ink. Can accept: Array of Inks or MixedInkGroup.
inkPercentages Array of number The percent to use of each ink in the ink list. (Range: 0 to 100 for each ink)
withProperties Object Initial values for properties of the new MixedInk (Optional)

MixedInkanyItem ()
Returns any MixedInk in the collection.

number count ()
Displays the number of elements in the MixedInk.

Array of MixedInkeveryItem ()
Returns every MixedInk in the collection.

MixedInkfirstItem ()
Returns the first MixedInk in the collection.

MixedInkitem (index:
any)
Returns the MixedInk with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

MixedInkitemByID (id:
number)
Returns the MixedInk with the specified ID.

Parameter Type Description
id number The ID.

MixedInkitemByName (name:
string)
Returns the MixedInk with the specified name.

Parameter Type Description
name string The name.

Array of MixedInkitemByRange (from:
any, to:
any)
Returns the MixedInks within the specified range.

Parameter Type Description
from MixedInk
Long Integer
String
The MixedInk, index, or name at the beginning of the range. Can accept: MixedInk, Long Integer or String.
to MixedInk
Long Integer
String
The MixedInk, index, or name at the end of the range. Can accept: MixedInk, Long Integer or String.

MixedInklastItem ()
Returns the last MixedInk in the collection.

MixedInkmiddleItem ()
Returns the middle MixedInk in the collection.

MixedInknextItem (obj:
MixedInk)
Returns the MixedInk whose index follows the specified MixedInk in the collection.

Parameter Type Description
obj MixedInk The MixedInk whose index comes before the desired MixedInk.

MixedInkpreviousItem (obj:
MixedInk)
Returns the MixedInk with the index previous to the specified index.

Parameter Type Description
obj MixedInk The index of the MixedInk that follows the desired MixedInk.

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

Element of:

Application.mixedInks
Document.mixedInks

Leave a Comment

Previous post:

Next post: