MixedInkGroup
A mixed ink group.
Go to Property Listing | Method Listing
Methods:
addEventListener, duplicate, extractLabel, getElements, insertLabel, merge, remove, removeEventListener, toSource, toSpecifier
Objects:
Boolean, ColorGroup, ColorModel, EventListeners, Events, Ink, Number, Object, String
Hierarchy:
Superclass: Swatch
Class: MixedInkGroup
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The unique ID of the MixedInkGroup. |
||
readonly |
The index of the MixedInkGroup within its containing object. |
||
readonly |
The component inks. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
A property that can be set to any string. |
||
read/write |
The color model. |
||
read/write |
The name of the MixedInkGroup. |
||
readonly |
The parent of the MixedInkGroup (a Application or Document). |
||
readonly |
The color group that a swatch belongs to |
||
read/write |
A property that allows setting of several properties at the same time. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
MixedInkGroup duplicate ()
Duplicates the MixedInkGroup.
String extractLabel (key:String)
Gets the label value associated with the specified key.
Parameter |
Type |
Description |
---|---|---|
key |
The key. |
MixedInkGroup getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Swatch merge (with:Array of Varies Swatches Swatch String)
Merges the specified swatches with the swatch.
Parameter |
Type |
Description |
---|---|---|
with |
Array of Swatches |
The swatches to merge. Can accept: Array of Swatches, Swatch or String. |
undefined remove (replacingWith:Swatch)
Deletes the swatch.
Parameter |
Type |
Description |
---|---|---|
replacingWith |
The swatch to apply in place of the deleted swatch. (Optional) |
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the MixedInkGroup.
String toSpecifier ()
Retrieves the object specifier.
Object of
MixedInk.baseColor
Event.parent
EventListener.parent
MutationEvent.parent