DirectionalFeatherSetting

Directional feather effect settings.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, EventListeners, Events, FollowShapeModeOptions, Number, Object, String,

Hierarchy:

Superclass: Preference

Class: DirectionalFeatherSetting

Subclasses: FindChangeDirectionalFeatherSetting

Property Listing

Property

Type

Access

Description

angle

Number (range -180 - 180)

read/write

The angle of the feather. (Range: 180 to -180)

applied

Boolean

read/write

If true, the directional feather effect is applied.

bottomWidth

Number

String

read/write

The feather width (in pixels) on the bottom side of the object DirectionalFeatherSetting. (Range: .2 to 250)

chokeAmount

Number (range 0 - 100)

read/write

The amount to choke the directional feather (as a percentage of the feather width). (Range: 0 to 100)

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

followShapeMode

FollowShapeModeOptions

FollowShapeModeOptions.ALL_EDGES

FollowShapeModeOptions.LEADING_EDGE

FollowShapeModeOptions.NONE

read/write

The shape-following algorithm applied to the feather.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

leftWidth

Number

String

read/write

The feather width (in pixels) on the left side of the DirectionalFeatherSetting.

noise

Number (range 0 - 100)

read/write

The amount of noise (as a percentage) applied to the feather region. (Range: 0 to 100)

parent

FillTransparencySetting

StrokeTransparencySetting

ContentTransparencySetting

TransparencySetting

readonly

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

properties

Object

read/write

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

rightWidth

Number

String

read/write

The feather width (in pixels) on the right side of the DirectionalFeatherSetting. (Range: .2 to 250)

topWidth

Number

String

read/write

The feather width (in pixels) on the top side of the object DirectionalFeatherSetting. (Range: .2 to 250)

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)

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

String toSpecifier ()

Retrieves the object specifier.

Object of

TransparencySetting.directionalFeatherSettings

StrokeTransparencySetting.directionalFeatherSettings

FillTransparencySetting.directionalFeatherSettings

ContentTransparencySetting.directionalFeatherSettings

Event.parent

EventListener.parent

MutationEvent.parent

Return

DirectionalFeatherSetting.getElements()