SwatchGroups

A collection of Swatch groups.

Methods:

add, getByName, getSelected, removeAll

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

SwatchGroup add ()

Create a Swatch group.

SwatchGroup getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

SwatchGroup getSelected ()

Get selected swatchGroups in the document.

undefined removeAll ()

Deletes all elements.

Object of

Document.swatchGroups