Class
A mixed ink swatch. Base Class: Swatch
duplicate, extractLabel, insertLabel, merge, remove
MixedInk
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
baseColor | MixedInkGroup | readonly | The mixed ink group that a mixed ink swatch is based on. |
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. |
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
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. |
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. |
void merge (with:
any)
Merge one or more other swatches into this one.
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)
Delete swatch.
Parameter | Type | Description |
---|---|---|
replacingWith | Swatch | The swatch to apply in place of this one |
Return
MixedInk MixedInk.duplicate ()
MixedInk MixedInks.add (inkList: any, inkPercentages: Array of number[, withProperties: Object])
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |