Returns the GradientStop with the specified index.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Number | readonly | The number of objects in the collection. |
Methods
Creates a new GradientStop.
Returns any GradientStop in the collection.
→ Number
Displays the number of elements in the GradientStop.
→ GradientStop[]
Returns every GradientStop in the collection.
Returns the first GradientStop in the collection.
Returns the GradientStop with the specified index or name.
→ GradientStop[]
Returns the GradientStops within the specified range.
from
GradientStop | LongInteger | String
The GradientStop, index, or name at the beginning of the range. Can accept: GradientStop, Long Integer or String.
to
GradientStop | LongInteger | String
The GradientStop, index, or name at the end of the range. Can accept: GradientStop, Long Integer or String.
Returns the last GradientStop in the collection.
Returns the middle GradientStop in the collection.
Returns the GradientStop whose index follows the specified GradientStop in the collection.
Returns the GradientStop with the index previous to the specified index.
→ String
Generates a string which, if executed, will return the GradientStop.
Object of 1
Properties elsewhere that hold a GradientStops.