InnerShadowSetting
Inner shadow effect settings. Base Class: Preference
Superclass of FindChangeInnerShadowSetting
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
angle | number (range: -180 - 180) | r/w | The angle at which the inner shadow is thrown. (Range: -360 to 360) |
applied | bool | r/w | If true, the inner shadow effect is applied. |
blendMode | 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 inner shadow effect. |
chokeAmount | number (range: 0 - 100) | r/w | The amount to choke the inner shadow (as a percentage of shadow size). (Range: 0 to 100) |
distance | Measurement Unit (Number or String) (range: 0 - 1000) | r/w | The distance between the InnerShadowSetting and the shadow. |
effectColor | Swatch | r/w | The color applied to the inner shadow, specified as a swatch (color, gradient, tint, or mixed ink), 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. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
noise | number (range: 0 - 100) | r/w | The amount (as a percentage) of noise to add to the shadow. (Range: 0 to 100) |
opacity | number (range: 0 - 100) | r/w | The opacity (as a percentage) of the inner shadow. (Range: 0 to 100) |
parent | ContentTransparencySetting FillTransparencySetting StrokeTransparencySetting TransparencySetting |
readonly | The parent of the InnerShadowSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
size | Measurement Unit (Number or String) (range: 0 - 144) | r/w | The size of the inner shadow. |
useGlobalLight | bool | r/w | If true, the global light angle is used. |
xOffset | Measurement Unit (Number or String) (range: -1000 - 1000) | r/w | The horizontal offset of the shadow |
yOffset | Measurement Unit (Number or String) (range: -1000 - 1000) | r/w | The vertical offset of the shadow |
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 InnerShadowSetting 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 InnerShadowSetting.
Element of
ContentTransparencySetting.innerShadowSettings
FillTransparencySetting.innerShadowSettings
StrokeTransparencySetting.innerShadowSettings
TransparencySetting.innerShadowSettings
Return
Array of InnerShadowSetting InnerShadowSetting.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |