Adobe InDesign CS5 (7.0) Object Model JS: FeatherSetting

InDesign CS5

Class

FeatherSetting

 

Feather effect settings. Base Class: Preference

Superclass of FindChangeFeatherSetting

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

ContentTransparencySetting | FillTransparencySetting | StrokeTransparencySetting | TransparencySetting
Preference
FeatherSetting
FindChangeFeatherSetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
chokeAmountnumber (range: 0 - 100) r/wThe amount to choke the feather (as a percentage of the feather width). (Range: 0 to 100)
cornerTypeFeatherCornerType:
FeatherCornerType.SHARP
FeatherCornerType.ROUNDED
FeatherCornerType.DIFFUSION
r/wThe corner effect applied to the feather.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
modeFeatherMode:
FeatherMode.NONE
FeatherMode.STANDARD
r/wThe feather mode.
noisenumber (range: 0 - 100) r/wThe amount (as a percentage) of noise applied to the feather. (Range: 0 to 100)
parentContentTransparencySetting
FillTransparencySetting
StrokeTransparencySetting
TransparencySetting
readonlyThe parent of the FeatherSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
propertiesObject r/wA property that allows setting of several properties at the same time.
widthMeasurement Unit (Number or String) (range: 0 - 1000) r/wThe feather width. (Range depends on the unit type. For points: 0 to 1000; for picas: 0 to 83p4; for inches: 0 to 13.8889; for mm: 0 to 352.778; for cm: 0 to 35.277; for ciceros: 0 to 78c2.389.)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

ContentTransparencySetting.featherSettings

FillTransparencySetting.featherSettings

StrokeTransparencySetting.featherSettings

TransparencySetting.featherSettings

Return

Array of FeatherSetting FeatherSetting.getElements ()

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