Returns the Swatch with the specified index.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Number | readonly | The number of objects in the collection. |
Methods
→ Swatch
→ Swatch
Returns any Swatch in the collection.
→ Number
Displays the number of elements in the Swatch.
→ Swatch[]
Returns every Swatch in the collection.
→ Swatch
Returns the first Swatch in the collection.
→ Swatch
Returns the Swatch with the specified index or name.
→ Swatch
Returns the Swatch with the specified ID.
→ Swatch
Returns the Swatch with the specified name.
→ Swatch[]
Returns the Swatches within the specified range.
→ Swatch
Returns the last Swatch in the collection.
→ Swatch
Returns the middle Swatch in the collection.
→ Swatch
Returns the Swatch whose index follows the specified Swatch in the collection.
→ Swatch
Returns the Swatch with the index previous to the specified index.
→ String
Generates a string which, if executed, will return the Swatch.
Object of 2
Properties elsewhere that hold a Swatches.
Parameter of 6
Method parameters that accept a Swatches.