MixedInk

A mixed ink swatch.

Methods:

duplicate, extractLabel, insertLabel, merge, remove

Objects:

ColorModel, ColorSpace, Ink, MixedInkGroup, Number, Object, String

Hierarchy:

Superclass: Swatch

Class: MixedInk

Property Listing

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

read/write

The array of tint percentages for inks in the ink list. Note: Specify a value for each ink.

label

String

read/write

A property that can be set to any string.

model

ColorModel

ColorModel.MIXEDINKMODEL

ColorModel.PROCESS

ColorModel.REGISTRATION

ColorModel.SPOT

read/write

The color model.

name

String

read/write

The name of the MixedInk.

parent

Application

Document

readonly

The parent of the MixedInk (a Application or Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

space

ColorSpace

ColorSpace.CMYK

ColorSpace.LAB

ColorSpace.MIXEDINK

ColorSpace.RGB

read/write

The color space.

Method Listing

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.

undefined 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.

undefined merge (with:Array of Varies Swatches Swatch String)

Merge one or more other swatches into this one.

Parameter

Type

Description

with

Array of Swatches

Swatch

String

The swatches to merge. Can accept: Array of Swatches, Swatch or String.

undefined remove (replacingWith:Swatch)

Delete swatch.

Parameter

Type

Description

replacingWith

Swatch

The swatch to apply in place of this one

Return

MixedInks.add()

MixedInk.duplicate()