Extends
Instance Properties
| Name | Description | Access |
|---|---|---|
| altitude | number The altitude of the light source. (Range: 0 to 90) | read-write |
| angle | number The angle of the light source. (Range: -180 to 180) | read-write |
| applied | bool If true, the bevel or emboss effect is applied. | read-write |
| depth | number The depth of the bevel or emboss (as a percentage). (Range: 0 to 1000) | read-write |
| direction | BevelAndEmbossDirection The direction of the bevel or emboss. | read-write |
| eventListeners | EventListeners A collection of event listeners. | read-only |
| events | Events A collection of events. | read-only |
| highlightBlendMode | BlendMode The blending mode for the highlight portion of the effect. | read-write |
| highlightColor | Swatch 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. | read-write |
| highlightOpacity | number The opacity of the highlight portion of the effect (as a percentage). (Range: 0 to 100) | read-write |
| isValid | bool Returns true if the object specifier resolves to valid objects. | read-only |
| parent | The parent of the BevelAndEmbossSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting). | read-only |
| properties | Object A property that allows setting of several properties at the same time. | read-write |
| shadowBlendMode | BlendMode The blending mode for the shadow portion of the effect. | read-write |
| shadowColor | Swatch 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. | read-write |
| shadowOpacity | number The opacity of the shadow portion of the effect (as a percentage). (Range: 0 to 100) | read-write |
| size | Measurement Unit (Number or String)=any The size of the bevel or emboss. | read-write |
| soften | Measurement Unit (Number or String)=any The amount (in pixels) of softening. | read-write |
| style | BevelAndEmbossStyle The style of bevel or emboss. | read-write |
| technique | BevelAndEmbossTechnique The edging technique of the bevel or emboss. | read-write |
| useGlobalLight | bool If true, the global light source is used. | read-write |
Methods
| addEventListener( | eventType, handler [, captures]) |
→ EventListener |
| removeEventListener( | eventType, handler [, captures]) |
→ bool |
| toSource( | ) |
→ string |
| toSpecifier( | ) |
→ string |
-
addEventListener( eventType, handler [, captures=false])→ EventListener -
Adds an event listener.
eventTypestring The event type. handlerThe event handler. Can accept: File or JavaScript Function. capturesbool This parameter is obsolete. (Optional) -
getElements( )→ BevelAndEmbossSetting -
Resolves the object specifier, creating an array of object references.
-
removeEventListener( eventType, handler [, captures=false])→ bool -
Removes the event listener.
eventTypestring The registered event type. handlerThe registered event handler. Can accept: File or JavaScript Function. capturesbool This parameter is obsolete. (Optional) -
toSource( )→ string -
Generates a string which, if executed, will return the BevelAndEmbossSetting.
-
toSpecifier( )→ string -
Retrieves the object specifier.