SwatchGroups
SwatchGroups
Section titled “SwatchGroups”swatchGroups
Description
Section titled “Description”A collection of SwatchGroup objects.
Properties
Section titled “Properties”SwatchGroups.length
Section titled “SwatchGroups.length”swatchGroups.length
Description
Section titled “Description”The number of objects in the collection.
Number; read-only.
SwatchGroups.parent
Section titled “SwatchGroups.parent”swatchGroups.parent
Description
Section titled “Description”The object’s container.
Object; read-only.
SwatchGroups.typename
Section titled “SwatchGroups.typename”swatchGroups.typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Methods
Section titled “Methods”SwatchGroups.add()
Section titled “SwatchGroups.add()”swatchGroups.add()
Description
Section titled “Description”Creates a swatch group.
Returns
Section titled “Returns”SwatchGroups.getByName()
Section titled “SwatchGroups.getByName()”swatchGroups.getByName(name)
Description
Section titled “Description”Get the first element in the collection with the provided name.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
name | String | Name of element to get |
Returns
Section titled “Returns”SwatchGroups.removeAll()
Section titled “SwatchGroups.removeAll()”swatchGroups.removeAll()
Description
Section titled “Description”Deletes all elements in the collection.
Returns
Section titled “Returns”Nothing.