BlendingSetting

Basic object blending settings.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

BlendMode, Boolean, EventListeners, Events, Number, Object,

Hierarchy:

Superclass: Preference

Class: BlendingSetting

Subclasses: FindChangeBlendingSetting

Property Listing

Property

Type

Access

Description

blendMode

BlendMode

BlendMode.COLOR

BlendMode.COLOR_BURN

BlendMode.COLOR_DODGE

BlendMode.DARKEN

BlendMode.DIFFERENCE

BlendMode.EXCLUSION

BlendMode.HARD_LIGHT

BlendMode.HUE

BlendMode.LIGHTEN

BlendMode.LUMINOSITY

BlendMode.MULTIPLY

BlendMode.NORMAL

BlendMode.OVERLAY

BlendMode.SATURATION

BlendMode.SCREEN

BlendMode.SOFT_LIGHT

read/write

The blending mode for controlling how the base color interacts with the color of the BlendingSetting.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

isolateBlending

Boolean

read/write

If true, blending is applied only to the group. If false, blending includes all objects beneath the group.

knockoutGroup

Boolean

read/write

If true, the BlendingSetting is a knockout group.

opacity

Number (range 0 - 100)

read/write

The fill opacity of the BlendingSetting (as a percentage). (Range: 0 to 100)

parent

FillTransparencySetting

StrokeTransparencySetting

ContentTransparencySetting

TransparencySetting

readonly

The parent of the BlendingSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

BlendingSetting getElements ()

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

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

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. (Optional)

(default: false)

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Object of

TransparencySetting.blendingSettings

StrokeTransparencySetting.blendingSettings

FillTransparencySetting.blendingSettings

ContentTransparencySetting.blendingSettings

Event.parent

EventListener.parent

MutationEvent.parent

Return

BlendingSetting.getElements()