SwatchGroup¶
swatchGroup
Description
A group of Swatch objects.
Properties¶
SwatchGroup.name¶
swatchGroup.name
Description
The name of the swatch group.
Type
string
SwatchGroup.parent¶
swatchGroup.parent
Description
The object that contains the swatch group.
Type
Object, read-only.
SwatchGroup.typename¶
swatchGroup.typename
Description
The class name of the referenced object.
Type
String, read-only
Methods¶
SwatchGroup.addSpot()¶
swatchGroup.addSpot(spot)
Description
Adds a spot swatch to the swatch group.
Parameters
Parameter |
Type |
Description |
---|---|---|
|
Spot to add |
Returns
Nothing.
SwatchGroup.addSwatch()¶
swatchGroup.addSwatch(swatch)
Description
Adds a swatch to the swatch group.
Parameters
Parameter |
Type |
Description |
---|---|---|
|
Swatch to add |
Returns
Nothing.
SwatchGroup.getAllSwatches()¶
swatchGroup.getAllSwatches()
Description
Gets a list of all swatches in the swatch group.
Returns
List of Swatch
SwatchGroup.remove()¶
swatchGroup.remove()
Description
Deletes this object.
Returns
Nothing.
SwatchGroup.removeAll()¶
swatchGroup.removeAll()
Description
Deletes all elements in the collection.
Returns
Nothing.