OpacityGradientStop

An opacity gradient stop.

Properties

Property Type Access Description
index number readonly The index of the OpacityGradientStop within its containing object.
location number r/w The location of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 0 to 100)
midpoint number r/w The mid-point of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 13 to 87)
opacity number r/w The opacity of the opacity gradient stop (as a percentage). (Range: 0 to 100)
parent GradientFeatherSetting readonly The parent of the OpacityGradientStop (a GradientFeatherSetting).
properties Object r/w A property that allows setting of several properties at the same time.

Methods

Array of OpacityGradientStopgetElements ()
Resolves the object specifier, creating an array of object references.

void remove ()
Deletes the OpacityGradientStop.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

OpacityGradientStops.previousItem (

obj:
OpacityGradientStop )

OpacityGradientStops.nextItem (

obj:
OpacityGradientStop )

Returned by:

Array of OpacityGradientStop OpacityGradientStop .getElements (

)

OpacityGradientStop OpacityGradientStops.add (
[withProperties:
Object]
)

OpacityGradientStop OpacityGradientStops.anyItem (

)

Array of OpacityGradientStop OpacityGradientStops.everyItem (

)

OpacityGradientStop OpacityGradientStops.firstItem (

)

OpacityGradientStop OpacityGradientStops.item (
index:
any
)

OpacityGradientStop OpacityGradientStops.itemByName (
name:
string
)

Array of OpacityGradientStop OpacityGradientStops.itemByRange (
from:
any, to:
any
)

OpacityGradientStop OpacityGradientStops.lastItem (

)

OpacityGradientStop OpacityGradientStops.middleItem (

)

OpacityGradientStop OpacityGradientStops.nextItem (
obj:
OpacityGradientStop
)

OpacityGradientStop OpacityGradientStops.previousItem (
obj:
OpacityGradientStop
)

Leave a Comment

Previous post:

Next post: