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