Adobe InDesign CS4 (6.0) Object Model JS: OpacityGradientStop

InDesign CS4

Class

OpacityGradientStop

 An opacity gradient stop.

QuickLinks

getElements, remove, toSource, toSpecifier

Hierarchy

FindChangeGradientFeatherSetting | GradientFeatherSetting
OpacityGradientStop

Properties

PropertyTypeAccessDescription
indexnumber readonlyThe index of the OpacityGradientStop within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
locationnumber (range: 0 - 100) r/wThe location of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 0 to 100)
midpointnumber (range: 13 - 87) r/wThe mid-point of the opacity gradient stop, as a percentage of the OpacityGradientStop size. (Range: 13 to 87)
opacitynumber (range: 0 - 100) r/wThe opacity of the opacity gradient stop (as a percentage). (Range: 0 to 100)
parentFindChangeGradientFeatherSettingGradientFeatherSetting readonlyThe parent of the OpacityGradientStop (a GradientFeatherSetting or FindChangeGradientFeatherSetting).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

Array of OpacityGradientStop getElements ()
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:

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

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: 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)

Jongware, 20-Jun-2010 v3.0.3dContents :: Index