OpacityGradientStop
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
index | number | readonly | The index of the OpacityGradientStop within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
location | number (range: 0 - 100) | r/w | The location of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 0 to 100) |
midpoint | number (range: 13 - 87) | r/w | The mid-point of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 13 to 87) |
opacity | number (range: 0 - 100) | r/w | The opacity of the opacity gradient stop (as a percentage). (Range: 0 to 100) |
parent | FindChangeGradientFeatherSettingGradientFeatherSetting | readonly | The parent of the OpacityGradientStop (a GradientFeatherSetting or FindChangeGradientFeatherSetting). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of OpacityGradientStop getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the OpacityGradientStop.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the OpacityGradientStop.
Used in:
OpacityGradientStop OpacityGradientStops.nextItem (obj: OpacityGradientStop)
OpacityGradientStop OpacityGradientStops.previousItem (obj: OpacityGradientStop)
Return
Array of OpacityGradientStop OpacityGradientStop.getElements ()
OpacityGradientStop OpacityGradientStops.[] (index: number)
OpacityGradientStop OpacityGradientStops.add ([withProperties: Object])
OpacityGradientStop OpacityGradientStops.anyItem ()
Array of OpacityGradientStop OpacityGradientStops.everyItem ()
OpacityGradientStop OpacityGradientStops.firstItem ()
OpacityGradientStop OpacityGradientStops.item (index: varies)
Array of OpacityGradientStop OpacityGradientStops.itemByRange (from: varies, to: varies)
OpacityGradientStop OpacityGradientStops.lastItem ()
OpacityGradientStop OpacityGradientStops.middleItem ()
OpacityGradientStop OpacityGradientStops.nextItem (obj: OpacityGradientStop)
OpacityGradientStop OpacityGradientStops.previousItem (obj: OpacityGradientStop)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |