Adobe Illustrator CS5 Type Library JS: SwatchGroup
From Illustrator CS5
Class
SwatchGroup
A Swatch group.QuickLinks
addSpot, addSwatch, getAllSwatches, remove, removeAllHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| name | string | r/w | Name of the swatch group. |
| parent | Object | readonly | The object's container. |
| typename | string | readonly | The class name of the object. |
Methods
Instances
void addSpot (spot:
Spot)
Add a spot swatch to the group.
| Parameter | Type | Description |
|---|---|---|
| spot | Spot | The spot swatch to be added to the group. |
void addSwatch (swatch:
Swatch)
Add a swatch to the group.
| Parameter | Type | Description |
|---|---|---|
| swatch | Swatch | The 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.3d | Contents :: Index |