Gradients
A collection of gradients.
Gradients Properties
| Property |
Type |
Access |
Description |
| item |
Object |
read |
Returns the gradient with the specified index or name. |
| length |
Long |
read |
The number of gradients in the collection. |
Gradients Methods
| Method |
Returns |
Description |
| add |
Gradient |
Create a new gradient. |
| anyItem |
Object |
Returns any gradient. |
| firstItem |
Object |
Returns the first gradient. |
| itemByID |
Object |
Returns the gradient with the specified ID. |
| itemByRange |
Objects |
Returns the gradients within the specified range. |
| lastItem |
Object |
Returns the last gradient. |
| middleItem |
Object |
Returns the middle gradient. |
| nextItem |
Object |
Returns the next gradient. |
| previousItem |
Object |
Returns the previous gradient. |
Previous post: GradientStop
Next post: Gradient