GradientStops
A collection of gradient stops.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
GradientStop add( Object withProperties )
Creates a new GradientStop.
Parameters
Number count()
Displays the number of elements in the GradientStop.
GradientStop item( Mixed index )
Returns the GradientStop with the specified index or name.
Parameters
GradientStop itemByRange( Mixed from, Mixed to )
Returns the GradientStops within the specified range.
Parameters
GradientStop firstItem()
Returns the first GradientStop in the collection.
GradientStop lastItem()
Returns the last GradientStop in the collection.
GradientStop middleItem()
Returns the middle GradientStop in the collection.
GradientStop previousItem( GradientStop obj )
Returns the GradientStop with the index previous to the specified index.
Parameters
GradientStop nextItem( GradientStop obj )
Returns the GradientStop whose index follows the specified GradientStop in the collection.
Parameters
GradientStop anyItem()
Returns any GradientStop in the collection.
GradientStop everyItem()
Returns every GradientStop in the collection.
String toSource()
Generates a string which, if executed, will return the GradientStop.
GradientStop []( Number index )
Returns the GradientStop with the specified index.