Class
Swatches |
| A collection of swatches. |
QuickLinks |
add, getByName, getSelected, removeAll |
Hierarchy
|
|
Properties
| Property | Type | Access | Description |
length | int |
readonly | Number of elements in the collection. |
parent | Object |
readonly | The object's container. |
typename | string |
readonly | The class name of the object. |
|
Methods
| ClassSwatch add ()
Create a swatch.
InstancesSwatch getByName (name:
string)
Get the first element in the collection with the provided name.
Parameter | Type | Description |
name | string | |
Array
of Swatch getSelected ()
Get selected swatches in the document.
void removeAll ()
Deletes all elements.
|
Element of |
Document.swatches
|