FindChangeDropShadowSetting

Drop shadow settings.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

BlendMode, Boolean, EventListeners, Events, NothingEnum, Object, ShadowMode, Swatch,

Hierarchy:

Superclass: DropShadowSetting

Class: FindChangeDropShadowSetting

Property Listing

Property

Type

Access

Description

angle

Real(-180-180)

NothingEnum.NOTHING

read/write

The angle at which the shadow is thrown. Can return: Real (-180 - 180) or NothingEnum enumerator.

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

NothingEnum.NOTHING

read/write

The blending mode for the drop shadow effect. Can return: BlendMode enumerator or NothingEnum enumerator.

distance

Unit(0-1000points)

NothingEnum.NOTHING

read/write

The distance between the item and its shadow. Can return: Unit (0 - 1000 points) or NothingEnum enumerator.

effectColor

Swatch

NothingEnum.NOTHING

read/write

The color applied to the drop 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. Can return: Swatch or NothingEnum enumerator.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

honorOtherEffects

Boolean

NothingEnum.NOTHING

read/write

If true, the drop shadow will take into account other non-shadow effects. Can return: Boolean or NothingEnum enumerator.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

knockedOut

Boolean

NothingEnum.NOTHING

read/write

If true, the layer will knock out the drop shadow. Can return: Boolean or NothingEnum enumerator.

mode

ShadowMode

ShadowMode.DROP

ShadowMode.NONE

NothingEnum.NOTHING

read/write

The shadow mode. Can return: ShadowMode enumerator or NothingEnum enumerator.

noise

Real(0-100) (range 0 - 100)

NothingEnum.NOTHING

read/write

The amount (as a percentage) of noise applied to the shadow. (Range: 0 to 100). Can return: Real (0 - 100) or NothingEnum enumerator.

opacity

Real(0-100) (range 0 - 100)

NothingEnum.NOTHING

read/write

The opacity of the drop shadow (as a percentage). (Range: 0 to 100). Can return: Real (0 - 100) or NothingEnum enumerator.

parent

FindChangeFillTransparencySetting

FindChangeStrokeTransparencySetting

FindChangeContentTransparencySetting

FindChangeTransparencySetting

readonly

The parent of the FindChangeDropShadowSetting (a FindChangeTransparencySetting, FindChangeStrokeTransparencySetting, FindChangeFillTransparencySetting or FindChangeContentTransparencySetting).

properties

Object

read/write

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

size

Unit(0-144points)

NothingEnum.NOTHING

read/write

The radius (in pixels) of the blur applied to the drop shadow. (Range depends on the unit type. For points: 0 to 144; for picas: 0p0 to 12p0; for inches: 0 to 2; for mm: 0 to 50.08; for cm: 0 to 5.08; for ciceros: 0c0 to 11c3.128.). Can return: Unit (0 - 144 points) or NothingEnum enumerator.

spread

Real(0-100) (range 0 - 100)

NothingEnum.NOTHING

read/write

The amount (as a percentage of the blur width) to spread the footprint of the drop shadow and reduce the radius of the blur. (Range: 0 to 100). Can return: Real (0 - 100) or NothingEnum enumerator.

useGlobalLight

Boolean

NothingEnum.NOTHING

read/write

If true, uses the global light angle. Can return: Boolean or NothingEnum enumerator.

xOffset

Unit(-1000-1000points)

NothingEnum.NOTHING

read/write

The horizontal offset of the drop shadow. Range depends on the unit type. For points: -1000 to 1000; for picas: -83p4 to 83p4; for inches: -13.8889 to 13.8889; for mm: -352.778 to 352.778; for cm: -35.277 to 35.277; for ciceros: -78c2.389 to 78c2.389. Can return: Unit (-1000 - 1000 points) or NothingEnum enumerator.

yOffset

Unit(-1000-1000points)

NothingEnum.NOTHING

read/write

The vertical offset of the drop shadow. (Range depends on the unit type. For points: -1000 to 1000; for picas: -83p4 to 83p4; for inches: -13.8889 to 13.8889; for mm: -352.778 to 352.778; for cm: -35.277 to 35.277; for ciceros: -78c2.389 to 78c2.389). Can return: Unit (-1000 - 1000 points) or NothingEnum enumerator.

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)

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

String toSpecifier ()

Retrieves the object specifier.

Object of

FindChangeTransparencySetting.dropShadowSettings

FindChangeStrokeTransparencySetting.dropShadowSettings

FindChangeFillTransparencySetting.dropShadowSettings

FindChangeContentTransparencySetting.dropShadowSettings

Event.parent

EventListener.parent

MutationEvent.parent

Return

FindChangeDropShadowSetting.getElements()