OpacityGradientStops

A collection of opacity gradient stops.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

OpacityGradientStop [] (index:Number)

Returns the OpacityGradientStop with the specified index.

Parameter

Type

Description

index

Number

The index.

OpacityGradientStop add (withProperties:Object)

Creates a new OpacityGradientStop.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new OpacityGradientStop (Optional)

OpacityGradientStop anyItem ()

Returns any OpacityGradientStop in the collection.

Number count ()

Displays the number of elements in the OpacityGradientStop.

OpacityGradientStop everyItem ()

Returns every OpacityGradientStop in the collection.

OpacityGradientStop firstItem ()

Returns the first OpacityGradientStop in the collection.

OpacityGradientStop item (index:Varies LongInteger String)

Returns the OpacityGradientStop with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

OpacityGradientStop itemByRange (from:Varies LongInteger OpacityGradientStop String, to:Varies LongInteger OpacityGradientStop String)

Returns the OpacityGradientStops within the specified range.

Parameter

Type

Description

from

LongInteger

OpacityGradientStop

String

The OpacityGradientStop, index, or name at the beginning of the range. Can accept: OpacityGradientStop, Long Integer or String.

to

LongInteger

OpacityGradientStop

String

The OpacityGradientStop, index, or name at the end of the range. Can accept: OpacityGradientStop, Long Integer or String.

OpacityGradientStop lastItem ()

Returns the last OpacityGradientStop in the collection.

OpacityGradientStop middleItem ()

Returns the middle OpacityGradientStop in the collection.

OpacityGradientStop nextItem (obj:OpacityGradientStop)

Returns the OpacityGradientStop whose index follows the specified OpacityGradientStop in the collection.

Parameter

Type

Description

obj

OpacityGradientStop

The OpacityGradientStop whose index comes before the desired OpacityGradientStop.

OpacityGradientStop previousItem (obj:OpacityGradientStop)

Returns the OpacityGradientStop with the index previous to the specified index.

Parameter

Type

Description

obj

OpacityGradientStop

The index of the OpacityGradientStop that follows the desired OpacityGradientStop.

String toSource ()

Generates a string which, if executed, will return the OpacityGradientStop.

Object of

GradientFeatherSetting.opacityGradientStops

FindChangeGradientFeatherSetting.opacityGradientStops