BevelAndEmbossSetting

Bevel and emboss effect settings.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

BevelAndEmbossDirection, BevelAndEmbossStyle, BevelAndEmbossTechnique, BlendMode, Boolean, EventListeners, Events, Number, Object, String, Swatch,

Hierarchy:

Superclass: Preference

Class: BevelAndEmbossSetting

Subclasses: FindChangeBevelAndEmbossSetting

Property Listing

Property

Type

Access

Description

altitude

Number (range 0 - 100)

read/write

The altitude of the light source. (Range: 0 to 90)

angle

Number (range -180 - 180)

read/write

The angle of the light source. (Range: -180 to 180)

applied

Boolean

read/write

If true, the bevel or emboss effect is applied.

depth

Number (range 0 - 1000)

read/write

The depth of the bevel or emboss (as a percentage). (Range: 0 to 1000)

direction

BevelAndEmbossDirection

BevelAndEmbossDirection.DOWN

BevelAndEmbossDirection.UP

read/write

The direction of the bevel or emboss.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

highlightBlendMode

BlendMode

BlendMode.COLOR

BlendMode.COLOR_BURN

BlendMode.COLOR_DODGE

BlendMode.DARKEN

BlendMode.DIFFERENCE

BlendMode.EXCLUSION

BlendMode.HARD_LIGHT

BlendMode.HUE

BlendMode.LIGHTEN

BlendMode.LUMINOSITY

BlendMode.MULTIPLY

BlendMode.NORMAL

BlendMode.OVERLAY

BlendMode.SATURATION

BlendMode.SCREEN

BlendMode.SOFT_LIGHT

read/write

The blending mode for the highlight portion of the effect.

highlightColor

Swatch

read/write

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

highlightOpacity

Number (range 0 - 100)

read/write

The opacity of the highlight portion of the effect (as a percentage). (Range: 0 to 100)

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

FillTransparencySetting

StrokeTransparencySetting

ContentTransparencySetting

TransparencySetting

readonly

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

properties

Object

read/write

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

shadowBlendMode

BlendMode

BlendMode.COLOR

BlendMode.COLOR_BURN

BlendMode.COLOR_DODGE

BlendMode.DARKEN

BlendMode.DIFFERENCE

BlendMode.EXCLUSION

BlendMode.HARD_LIGHT

BlendMode.HUE

BlendMode.LIGHTEN

BlendMode.LUMINOSITY

BlendMode.MULTIPLY

BlendMode.NORMAL

BlendMode.OVERLAY

BlendMode.SATURATION

BlendMode.SCREEN

BlendMode.SOFT_LIGHT

read/write

The blending mode for the shadow portion of the effect.

shadowColor

Swatch

read/write

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

shadowOpacity

Number (range 0 - 100)

read/write

The opacity of the shadow portion of the effect (as a percentage). (Range: 0 to 100)

size

Number

String

read/write

The size of the bevel or emboss.

soften

Number

String

read/write

The amount (in pixels) of softening.

style

BevelAndEmbossStyle

BevelAndEmbossStyle.EMBOSS

BevelAndEmbossStyle.INNER_BEVEL

BevelAndEmbossStyle.OUTER_BEVEL

BevelAndEmbossStyle.PILLOW_EMBOSS

read/write

The style of bevel or emboss.

technique

BevelAndEmbossTechnique

BevelAndEmbossTechnique.CHISEL_HARD

BevelAndEmbossTechnique.CHISEL_SOFT

BevelAndEmbossTechnique.SMOOTH_CONTOUR

read/write

The edging technique of the bevel or emboss.

useGlobalLight

Boolean

read/write

If true, the global light source is used.

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)

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

String toSpecifier ()

Retrieves the object specifier.

Object of

TransparencySetting.bevelAndEmbossSettings

StrokeTransparencySetting.bevelAndEmbossSettings

FillTransparencySetting.bevelAndEmbossSettings

ContentTransparencySetting.bevelAndEmbossSettings

Event.parent

EventListener.parent

MutationEvent.parent

Return

BevelAndEmbossSetting.getElements()