Adobe Illustrator CS5 Type Library JS: GradientStops

Illustrator CS5

Class

GradientStops

 A collection of gradient stops.

QuickLinks

add, getByName, removeAll

Hierarchy

Object
GradientStops

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Class

GradientStop add ()
Create a gradient stop.

Instances

GradientStop getByName (name: string)
Get the first element in the collection with the provided name.

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Gradient.gradientStops

Jongware, 27-Jun-2010 v3.0.3dContents :: Index