SwatchGroup

A Swatch group.

Methods:

addSpot, addSwatch, getAllSwatches, remove, removeAll

Objects:

String

Property Listing

Property

Type

Access

Description

name

String

read/write

Name of the swatch group.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

undefined addSpot (spot:Spot)

Add a spot swatch to the group.

Parameter

Type

Description

spot

Spot

The spot swatch to be added to the group.

undefined addSwatch (swatch:Swatch)

Add a swatch to the group.

Parameter

Type

Description

swatch

Swatch

The swatch to be added to the group.

Swatch getAllSwatches ()

Get all swatches in the swatch group.

undefined remove ()

Deletes this object.

undefined removeAll ()

Deletes all elements.

Return

SwatchGroups.add()

SwatchGroups.getSelected()

SwatchGroups.getByName()