BevelAndEmbossSetting
Bevel and emboss effect settings. Base Class: Preference
Superclass of FindChangeBevelAndEmbossSetting
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
altitude | number (range: 0 - 100) | r/w | The altitude of the light source. (Range: 0 to 90) |
angle | number (range: -180 - 180) | r/w | The angle of the light source. (Range: -180 to 180) |
applied | bool | r/w | If true, the bevel or emboss effect is applied. |
depth | number (range: 0 - 1000) | r/w | The depth of the bevel or emboss (as a percentage). (Range: 0 to 1000) |
direction | BevelAndEmbossDirection: BevelAndEmbossDirection.UP BevelAndEmbossDirection.DOWN |
r/w | The direction of the bevel or emboss. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
highlightBlendMode | BlendMode: BlendMode.NORMAL BlendMode.MULTIPLY BlendMode.SCREEN BlendMode.OVERLAY BlendMode.SOFT_LIGHT BlendMode.HARD_LIGHT BlendMode.COLOR_DODGE BlendMode.COLOR_BURN BlendMode.DARKEN BlendMode.LIGHTEN BlendMode.DIFFERENCE BlendMode.EXCLUSION BlendMode.HUE BlendMode.SATURATION BlendMode.COLOR BlendMode.LUMINOSITY |
r/w | The blending mode for the highlight portion of the effect. |
highlightColor | Swatch | r/w | 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) | r/w | The opacity of the highlight portion of the effect (as a percentage). (Range: 0 to 100) |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | ContentTransparencySetting FillTransparencySetting StrokeTransparencySetting TransparencySetting |
readonly | The parent of the BevelAndEmbossSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
shadowBlendMode | BlendMode: BlendMode.NORMAL BlendMode.MULTIPLY BlendMode.SCREEN BlendMode.OVERLAY BlendMode.SOFT_LIGHT BlendMode.HARD_LIGHT BlendMode.COLOR_DODGE BlendMode.COLOR_BURN BlendMode.DARKEN BlendMode.LIGHTEN BlendMode.DIFFERENCE BlendMode.EXCLUSION BlendMode.HUE BlendMode.SATURATION BlendMode.COLOR BlendMode.LUMINOSITY |
r/w | The blending mode for the shadow portion of the effect. |
shadowColor | Swatch | r/w | 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) | r/w | The opacity of the shadow portion of the effect (as a percentage). (Range: 0 to 100) |
size | Measurement Unit (Number or String) (range: 0 - 144) | r/w | The size of the bevel or emboss. |
soften | Measurement Unit (Number or String) (range: 0 - 144) | r/w | The amount (in pixels) of softening. |
style | BevelAndEmbossStyle: BevelAndEmbossStyle.OUTER_BEVEL BevelAndEmbossStyle.INNER_BEVEL BevelAndEmbossStyle.EMBOSS BevelAndEmbossStyle.PILLOW_EMBOSS |
r/w | The style of bevel or emboss. |
technique | BevelAndEmbossTechnique: BevelAndEmbossTechnique.SMOOTH_CONTOUR BevelAndEmbossTechnique.CHISEL_HARD BevelAndEmbossTechnique.CHISEL_SOFT |
r/w | The edging technique of the bevel or emboss. |
useGlobalLight | bool | r/w | If true, the global light source is used. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of BevelAndEmbossSetting getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the BevelAndEmbossSetting.
Element of
ContentTransparencySetting.bevelAndEmbossSettings
FillTransparencySetting.bevelAndEmbossSettings
StrokeTransparencySetting.bevelAndEmbossSettings
TransparencySetting.bevelAndEmbossSettings
Return
Array of BevelAndEmbossSetting BevelAndEmbossSetting.getElements ()
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |