Edit in GitHubLog an issue

OpacityGradientStops

A collection of opacity gradient stops.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

OpacityGradientStop add( Object withProperties )

Creates a new OpacityGradientStop.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new OpacityGradientStop (Optional)

Number count()

Displays the number of elements in the OpacityGradientStop.


OpacityGradientStop item( Mixed index )

Returns the OpacityGradientStop with the specified index or name.

Parameters

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

OpacityGradientStop itemByRange( Mixed from, Mixed to )

Returns the OpacityGradientStops within the specified range.

Parameters

TypeNameDescription
Mixed
from
The OpacityGradientStop, index, or name at the beginning of the range. Can accept: OpacityGradientStop, Long Integer or String.
Mixed
to
The OpacityGradientStop, index, or name at the end of the range. Can accept: OpacityGradientStop, Long Integer or String.

OpacityGradientStop firstItem()

Returns the first OpacityGradientStop in the collection.


OpacityGradientStop lastItem()

Returns the last OpacityGradientStop in the collection.


OpacityGradientStop middleItem()

Returns the middle OpacityGradientStop in the collection.


OpacityGradientStop previousItem( OpacityGradientStop obj )

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

Parameters

TypeNameDescription
OpacityGradientStop
obj
The index of the OpacityGradientStop that follows the desired OpacityGradientStop.

OpacityGradientStop nextItem( OpacityGradientStop obj )

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

Parameters

TypeNameDescription
OpacityGradientStop
obj
The OpacityGradientStop whose index comes before the desired OpacityGradientStop.

OpacityGradientStop anyItem()

Returns any OpacityGradientStop in the collection.


OpacityGradientStop everyItem()

Returns every OpacityGradientStop in the collection.


String toSource()

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


OpacityGradientStop []( Number index )

Returns the OpacityGradientStop with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.