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