Class
A collection of swatches.
[], add, getByName, getSelected, removeAll
Swatches
QuickLinks
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
Instances
Swatch [] (index:
uint)
Get an element in the collection with the provided index.
Parameter | Type | Description |
---|---|---|
index | uint |
Swatch add ()
Create a swatch.
Swatch 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.
Element of
Document.swatches
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |