MixedInk
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
baseColor | MixedInkGroup | readonly | The mixed ink group that a mixed ink swatch is based on. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | number | readonly | The unique ID of the MixedInk. |
index | number | readonly | The index of the MixedInk within its containing object. |
inkList | Array of Ink | readonly | The component inks. |
inkPercentages | Array of number | r/w | The array of tint percentages for inks in the ink list. Note: Specify a value for each ink. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
model | ColorModel: ColorModel.SPOT ColorModel.PROCESS ColorModel.REGISTRATION ColorModel.MIXEDINKMODEL |
r/w | The color model. |
name | string | r/w | The name of the MixedInk. |
parent | Application Document |
readonly | The parent of the MixedInk (a Application or Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
space | ColorSpace: ColorSpace.RGB ColorSpace.CMYK ColorSpace.LAB ColorSpace.MIXEDINK |
r/w | The color space. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
MixedInk duplicate ()
Duplicates the MixedInk.
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of MixedInk getElements ()
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. |
Swatch merge (with:
varies)
Merges the specified swatches with the swatch.
Parameter | Type | Description |
---|---|---|
with | Array of Swatches String Swatch | The swatches to merge. Can accept: Array of Swatches, Swatch or String. |
void remove ([replacingWith:
Swatch])
Deletes the swatch.
Parameter | Type | Description |
---|---|---|
replacingWith | Swatch | The swatch to apply in place of the deleted swatch. (Optional) |
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the MixedInk.
Element of
GradientStop.stopColor
Used in:
MixedInk MixedInks.nextItem (obj: MixedInk)
MixedInk MixedInks.previousItem (obj: MixedInk)
Return
MixedInk MixedInk.duplicate ()
Array of MixedInk MixedInk.getElements ()
MixedInk MixedInks.[] (index: number)
MixedInk MixedInks.add (inkList: varies, inkPercentages: Array of number[, withProperties: Object])
MixedInk MixedInks.anyItem ()
Array of MixedInk MixedInks.everyItem ()
MixedInk MixedInks.firstItem ()
MixedInk MixedInks.item (index: varies)
MixedInk MixedInks.itemByID (id: number)
MixedInk MixedInks.itemByName (name: string)
Array of MixedInk MixedInks.itemByRange (from: varies, to: varies)
MixedInk MixedInks.lastItem ()
MixedInk MixedInks.middleItem ()
MixedInk MixedInks.nextItem (obj: MixedInk)
MixedInk MixedInks.previousItem (obj: MixedInk)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |