Class
SwatchGroup |
| A Swatch group. |
QuickLinks |
addSpot, addSwatch, getAllSwatches, remove, removeAll |
Hierarchy
|
|
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
| Instancesvoid 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)
|