InnerShadowSetting

Inner shadow effect settings.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

BlendMode, Boolean, EventListeners, Events, Number, Object, String, Swatch,

Hierarchy:

Superclass: Preference

Class: InnerShadowSetting

Subclasses: FindChangeInnerShadowSetting

Property Listing

Property

Type

Access

Description

angle

Number (range -180 - 180)

read/write

The angle at which the inner shadow is thrown. (Range: -360 to 360)

applied

Boolean

read/write

If true, the inner shadow effect is applied.

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 the inner shadow effect.

chokeAmount

Number (range 0 - 100)

read/write

The amount to choke the inner shadow (as a percentage of shadow size). (Range: 0 to 100)

distance

Number

String

read/write

The distance between the InnerShadowSetting and the shadow.

effectColor

Swatch

read/write

The color applied to the inner shadow, 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.

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.

noise

Number (range 0 - 100)

read/write

The amount (as a percentage) of noise to add to the shadow. (Range: 0 to 100)

opacity

Number (range 0 - 100)

read/write

The opacity (as a percentage) of the inner shadow. (Range: 0 to 100)

parent

FillTransparencySetting

StrokeTransparencySetting

ContentTransparencySetting

TransparencySetting

readonly

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

properties

Object

read/write

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

size

Number

String

read/write

The size of the inner shadow.

useGlobalLight

Boolean

read/write

If true, the global light angle is used.

xOffset

Number

String

read/write

The horizontal offset of the shadow

yOffset

Number

String

read/write

The vertical offset of the shadow

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)

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

String toSpecifier ()

Retrieves the object specifier.

Object of

TransparencySetting.innerShadowSettings

StrokeTransparencySetting.innerShadowSettings

FillTransparencySetting.innerShadowSettings

ContentTransparencySetting.innerShadowSettings

Event.parent

EventListener.parent

MutationEvent.parent

Return

InnerShadowSetting.getElements()