Adobe InDesign CS3 (5.0) Object Model JS: BevelAndEmbossSetting

InDesign CS3

Class

BevelAndEmbossSetting

 Bevel and emboss effect settings.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

ContentTransparencySetting | FillTransparencySetting | StrokeTransparencySetting | TransparencySetting
BevelAndEmbossSetting

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.
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.
parentContentTransparencySetting
FillTransparencySetting
StrokeTransparencySetting
TransparencySetting
readonlyThe parent of the BevelAndEmbossSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
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

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

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

string toSpecifier ()
Retrieves the object specifier.

Element of

ContentTransparencySetting.bevelAndEmbossSettings

FillTransparencySetting.bevelAndEmbossSettings

StrokeTransparencySetting.bevelAndEmbossSettings

TransparencySetting.bevelAndEmbossSettings

Return

Array of BevelAndEmbossSetting BevelAndEmbossSetting.getElements ()

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