GradientFeatherSetting

Gradient feather effect settings.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, EventListeners, Events, GradientType, Number, Object, OpacityGradientStops, String,

Hierarchy:

Superclass: Preference

Class: GradientFeatherSetting

Subclasses: FindChangeGradientFeatherSetting

Property Listing

Property

Type

Access

Description

angle

Number (range -180 - 180)

read/write

The angle of the gradient feather.

applied

Boolean

read/write

If true, the gradient feather effect is applied.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

gradientStart

Array of Number

Array of String

read/write

The center point (for a radial gradient) or starting point (for a linear gradient) applied to the fill, as page coordinates in the format [x, y].

hiliteAngle

Number

read/write

The hilite angle of the radial gradient feather.

hiliteLength

Number

String

read/write

The hilite length of the radial gradient feather.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

length

Number

String

read/write

The length of the axial gradient, or radius of the radial gradient.

opacityGradientStops

OpacityGradientStops OpacityGradientStop

readonly

A collection of opacity gradient stops.

parent

FillTransparencySetting

StrokeTransparencySetting

ContentTransparencySetting

TransparencySetting

readonly

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

properties

Object

read/write

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

type

GradientType

GradientType.LINEAR

GradientType.RADIAL

read/write

The type of gradient.

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)

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

String toSpecifier ()

Retrieves the object specifier.

Object of

TransparencySetting.gradientFeatherSettings

StrokeTransparencySetting.gradientFeatherSettings

FillTransparencySetting.gradientFeatherSettings

ContentTransparencySetting.gradientFeatherSettings

Event.parent

EventListener.parent

MutationEvent.parent

OpacityGradientStop.parent

Return

GradientFeatherSetting.getElements()