InDesign2026
API 21.5.1.73
Object

OpacityGradientStop

An opacity gradient stop.

Properties

NameType AccessDescription
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The index of the OpacityGradientStop within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Number 0–100 read/write The location of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 0 to 100)
Number 13–87 read/write The mid-point of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 13 to 87)
Number 0–100 read/write The opacity of the opacity gradient stop (as a percentage). (Range: 0 to 100)
FindChangeGradientFeatherSetting | GradientFeatherSetting readonly The parent of the OpacityGradientStop (a GradientFeatherSetting or FindChangeGradientFeatherSetting).
Object read/write A property that allows setting of several properties at the same time.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
OpacityGradientStop[]

Resolves the object specifier, creating an array of object references.

void

Deletes the OpacityGradientStop.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 3

Properties elsewhere that hold a OpacityGradientStop.

Parameter of 3

Method parameters that accept a OpacityGradientStop.

Return 12

Methods that return a OpacityGradientStop.