GradientStops

A collection of gradient stops.

GradientStops Properties

Property Type Access Description
item Object read Returns the gradient stop with the specified index or name.
length Long read The number of gradient stops in the collection.

GradientStops Methods

Method Returns Description
add GradientStop Create a new gradient stop.
anyItem Object Returns any gradient stop.
firstItem Object Returns the first gradient stop.
itemByRange Objects Returns the gradient stops within the specified range.
lastItem Object Returns the last gradient stop.
middleItem Object Returns the middle gradient stop.
nextItem Object Returns the next gradient stop.
previousItem Object Returns the previous gradient stop.

Leave a Comment

Previous post:

Next post: