A mixed ink swatch.
Go to Property Listing | Method Listing
duplicate, extractLabel, getElements, insertLabel, merge, remove, toSource, toSpecifier
Boolean, ColorModel, ColorSpace, Ink, MixedInkGroup, Number, Object, String
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The mixed ink group that a mixed ink swatch is based on. |
||
|
readonly |
The unique ID of the MixedInk. |
||
|
readonly |
The index of the MixedInk within its containing object. |
||
|
readonly |
The component inks. |
||
|
read/write |
The array of tint percentages for inks in the ink list. Note: Specify a value for each ink. |
||
|
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 MixedInk. |
||
|
readonly |
The parent of the MixedInk (a Application or Document). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The color space. |
MixedInk duplicate ()
Duplicates the MixedInk.
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
MixedInk 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) |
String toSource ()
Generates a string which, if executed, will return the MixedInk.
String toSpecifier ()
Retrieves the object specifier.
GradientStop.stopColor