Adobe InDesign CS6 (8.0) Object Model JS: BlendingSetting

InDesign CS6

Class

BlendingSetting

 

Basic object blending settings. Base Class: Preference

Superclass of FindChangeBlendingSetting

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

ContentTransparencySetting | FillTransparencySetting | StrokeTransparencySetting | TransparencySetting
Preference
BlendingSetting
FindChangeBlendingSetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
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 controlling how the base color interacts with the color of the BlendingSetting.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
isolateBlendingbool r/wIf true, blending is applied only to the group. If false, blending includes all objects beneath the group.
knockoutGroupbool r/wIf true, the BlendingSetting is a knockout group.
opacitynumber (range: 0 - 100) r/wThe fill opacity of the BlendingSetting (as a percentage). (Range: 0 to 100)
parentContentTransparencySetting
FillTransparencySetting
StrokeTransparencySetting
TransparencySetting
readonlyThe parent of the BlendingSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
propertiesObject r/wA 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.

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 BlendingSetting 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 BlendingSetting.

string toSpecifier ()
Retrieves the object specifier.

Element of

ContentTransparencySetting.blendingSettings

FillTransparencySetting.blendingSettings

StrokeTransparencySetting.blendingSettings

TransparencySetting.blendingSettings

Return

Array of BlendingSetting BlendingSetting.getElements ()

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