Adobe InDesign CS6 (8.0) Object Model JS: FindChangeBevelAndEmbossSetting

InDesign CS6

Class

FindChangeBevelAndEmbossSetting

 Bevel and emboss effect settings. Base Class: BevelAndEmbossSetting

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

FindChangeContentTransparencySetting | FindChangeFillTransparencySetting | FindChangeStrokeTransparencySetting | FindChangeTransparencySetting
BevelAndEmbossSetting
FindChangeBevelAndEmbossSetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
altitudeNothingEnumReal (0 - 100) r/wThe altitude of the light source. (Range: 0 to 90). Can return: Real (0 - 100) or NothingEnum enumerator.
angleNothingEnum
Real (-180 - 180)
r/wThe angle of the light source. (Range: -180 to 180). Can return: Real (-180 - 180) or NothingEnum enumerator.
appliedBoolean
NothingEnum
r/wIf true, the bevel or emboss effect is applied. Can return: Boolean or NothingEnum enumerator.
depthNothingEnum
Real (0 - 1000)
r/wThe depth of the bevel or emboss (as a percentage). (Range: 0 to 1000). Can return: Real (0 - 1000) or NothingEnum enumerator.
directionBevelAndEmbossDirection
NothingEnum
r/wThe direction of the bevel or emboss. Can return: BevelAndEmbossDirection enumerator or NothingEnum enumerator.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
highlightBlendModeBlendMode
NothingEnum
r/wThe blending mode for the highlight portion of the effect. Can return: BlendMode enumerator or NothingEnum enumerator.
highlightColorNothingEnum
Swatch
r/wThe color applied to the highlight portion of the effect, specified as a swatch (color, gradient, tint, or mixed ink), a color library color, a hex value, 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; for HSB, specify three colors in the format [H,S,B], with H in the range 0 to 360 and S and B as percentages in the range 0 to 100. Can return: Swatch or NothingEnum enumerator.
highlightOpacityNothingEnum
Real (0 - 100)
r/wThe opacity of the highlight portion of the effect (as a percentage). (Range: 0 to 100). Can return: Real (0 - 100) or NothingEnum enumerator.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentFindChangeContentTransparencySetting
FindChangeFillTransparencySetting
FindChangeStrokeTransparencySetting
FindChangeTransparencySetting
readonlyThe parent of the FindChangeBevelAndEmbossSetting (a FindChangeTransparencySetting, FindChangeStrokeTransparencySetting, FindChangeFillTransparencySetting or FindChangeContentTransparencySetting).
propertiesObject r/wA property that allows setting of several properties at the same time.
shadowBlendModeBlendMode
NothingEnum
r/wThe blending mode for the shadow portion of the effect. Can return: BlendMode enumerator or NothingEnum enumerator.
shadowColorNothingEnum
Swatch
r/wThe color applied to the shadow portion of the effect, specified as a swatch (color, gradient, tint, or mixed ink), a color library color, a hex value, 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; for HSB, specify three colors in the format [H,S,B], with H in the range 0 to 360 and S and B as percentages in the range 0 to 100. Can return: Swatch or NothingEnum enumerator.
shadowOpacityNothingEnum
Real (0 - 100)
r/wThe opacity of the shadow portion of the effect (as a percentage). (Range: 0 to 100). Can return: Real (0 - 100) or NothingEnum enumerator.
sizeNothingEnum
Unit (0 - 144 points)
r/wThe size of the bevel or emboss. Can return: Unit (0 - 144 points) or NothingEnum enumerator.
softenNothingEnum
Unit (0 - 144 points)
r/wThe amount (in pixels) of softening. Can return: Unit (0 - 144 points) or NothingEnum enumerator.
styleBevelAndEmbossStyle
NothingEnum
r/wThe style of bevel or emboss. Can return: BevelAndEmbossStyle enumerator or NothingEnum enumerator.
techniqueBevelAndEmbossTechnique
NothingEnum
r/wThe edging technique of the bevel or emboss. Can return: BevelAndEmbossTechnique enumerator or NothingEnum enumerator.
useGlobalLightBoolean
NothingEnum
r/wIf true, the global light source is used. Can return: Boolean or NothingEnum enumerator.

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

string toSpecifier ()
Retrieves the object specifier.

Element of

FindChangeContentTransparencySetting.bevelAndEmbossSettings

FindChangeFillTransparencySetting.bevelAndEmbossSettings

FindChangeStrokeTransparencySetting.bevelAndEmbossSettings

FindChangeTransparencySetting.bevelAndEmbossSettings

Return

Array of FindChangeBevelAndEmbossSetting FindChangeBevelAndEmbossSetting.getElements ()

Jongware, 28-Apr-2012 v3.0.3hContents :: Index