Adobe InDesign CS5 (7.0) Object Model JS: DirectionalFeatherSetting

InDesign CS5

Class

DirectionalFeatherSetting

 

Directional feather effect settings. Base Class: Preference

Superclass of FindChangeDirectionalFeatherSetting

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

ContentTransparencySetting | FillTransparencySetting | StrokeTransparencySetting | TransparencySetting
Preference
DirectionalFeatherSetting
FindChangeDirectionalFeatherSetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
anglenumber (range: -180 - 180) r/wThe angle of the feather. (Range: 180 to -180)
appliedbool r/wIf true, the directional feather effect is applied.
bottomWidthMeasurement Unit (Number or String) (range: 0 - 1000) r/wThe feather width (in pixels) on the bottom side of the object DirectionalFeatherSetting. (Range: .2 to 250)
chokeAmountnumber (range: 0 - 100) r/wThe amount to choke the directional feather (as a percentage of the feather width). (Range: 0 to 100)
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
followShapeModeFollowShapeModeOptions:
FollowShapeModeOptions.NONE
FollowShapeModeOptions.LEADING_EDGE
FollowShapeModeOptions.ALL_EDGES
r/wThe shape-following algorithm applied to the feather.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
leftWidthMeasurement Unit (Number or String) (range: 0 - 1000) r/wThe feather width (in pixels) on the left side of the DirectionalFeatherSetting.
noisenumber (range: 0 - 100) r/wThe amount of noise (as a percentage) applied to the feather region. (Range: 0 to 100)
parentContentTransparencySetting
FillTransparencySetting
StrokeTransparencySetting
TransparencySetting
readonlyThe parent of the DirectionalFeatherSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
propertiesObject r/wA property that allows setting of several properties at the same time.
rightWidthMeasurement Unit (Number or String) (range: 0 - 1000) r/wThe feather width (in pixels) on the right side of the DirectionalFeatherSetting. (Range: .2 to 250)
topWidthMeasurement Unit (Number or String) (range: 0 - 1000) r/wThe feather width (in pixels) on the top side of the object DirectionalFeatherSetting. (Range: .2 to 250)

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of DirectionalFeatherSetting getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the DirectionalFeatherSetting.

string toSpecifier ()
Retrieves the object specifier.

Element of

ContentTransparencySetting.directionalFeatherSettings

FillTransparencySetting.directionalFeatherSettings

StrokeTransparencySetting.directionalFeatherSettings

TransparencySetting.directionalFeatherSettings

Return

Array of DirectionalFeatherSetting DirectionalFeatherSetting.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index