Adobe Illustrator CS5 Type Library JS: SwatchGroup

Illustrator CS5

Class

SwatchGroup

 A Swatch group.

QuickLinks

addSpot, addSwatch, getAllSwatches, remove, removeAll

Hierarchy

Object
SwatchGroup

Properties

PropertyTypeAccessDescription
namestring r/wName of the swatch group.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

void addSpot (spot: Spot)
Add a spot swatch to the group.

ParameterTypeDescription
spotSpotThe spot swatch to be added to the group.

void addSwatch (swatch: Swatch)
Add a swatch to the group.

ParameterTypeDescription
swatchSwatchThe swatch to be added to the group.

Array of Swatch getAllSwatches ()
Get all swatches in the swatch group.

void remove ()
Deletes this object.

void removeAll ()
Deletes all elements.

Return

SwatchGroup SwatchGroups.add ()

SwatchGroup SwatchGroups.getByName (name: string)

Jongware, 27-Jun-2010 v3.0.3dContents :: Index