Adobe InDesign CS5.5 (7.5) Object Model JS: InnerGlowSetting

InDesign CS5.5

Class

InnerGlowSetting

 

Inner glow effect settings. Base Class: Preference

Superclass of FindChangeInnerGlowSetting

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

ContentTransparencySetting | FillTransparencySetting | StrokeTransparencySetting | TransparencySetting
Preference
InnerGlowSetting
FindChangeInnerGlowSetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
appliedbool r/wIf true, the inner glow effect is applied.
blendModeBlendMode:
BlendMode.NORMAL
BlendMode.MULTIPLY
BlendMode.SCREEN
BlendMode.OVERLAY
BlendMode.SOFT_LIGHT
BlendMode.HARD_LIGHT
BlendMode.COLOR_DODGE
BlendMode.COLOR_BURN
BlendMode.DARKEN
BlendMode.LIGHTEN
BlendMode.DIFFERENCE
BlendMode.EXCLUSION
BlendMode.HUE
BlendMode.SATURATION
BlendMode.COLOR
BlendMode.LUMINOSITY
r/wThe blending mode for the inner glow effect.
effectColorSwatch r/wThe color applied to the inner glow, specified as a swatch (color, gradient, tint, or mixed ink), or as an array of color values. The color mode dictates the array values: for RGB, specify three values, each in the range 0 to 255, in the format [R,G,B]; for CMYK, specify four values, each as a percentage and each in the range 0 to 100, in the format [C,M,Y,K]; for LAB, specify three values in the format [L,A,B], with L in the range 0 to 100 and A and B in the range -128 to 127.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
noisenumber (range: 0 - 100) r/wThe amount (as a percentage) of noise applied to the inner glow. (Range: 0 to 100)
opacitynumber (range: 0 - 100) r/wThe opacity of the inner glow (as a percentage). (Range: 0 to 100)
parentContentTransparencySetting
FillTransparencySetting
StrokeTransparencySetting
TransparencySetting
readonlyThe parent of the InnerGlowSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
propertiesObject r/wA property that allows setting of several properties at the same time.
sizeMeasurement Unit (Number or String) (range: 0 - 144) r/wThe size of the inner glow.
sourceInnerGlowSource:
InnerGlowSource.CENTER_SOURCED
InnerGlowSource.EDGE_SOURCED
r/wThe light source of the inner glow effect.
spreadnumber (range: 0 - 100) r/wThe amount of spread (as a percentage of the inner glow size). (Range: 0 to 100)
techniqueGlowTechnique:
GlowTechnique.SOFTER
GlowTechnique.PRECISE
r/wThe technique used for the inner glow.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

ContentTransparencySetting.innerGlowSettings

FillTransparencySetting.innerGlowSettings

StrokeTransparencySetting.innerGlowSettings

TransparencySetting.innerGlowSettings

Return

Array of InnerGlowSetting InnerGlowSetting.getElements ()

Jongware, 28-Apr-2012 v3.0.3iContents :: Index