Adds an event listener.
Object
InnerShadowSetting
Inner shadow effect settings.
Preference ›InnerShadowSetting
Extended byFindChangeInnerShadowSetting
Hierarchy
ContentTransparencySetting | FillTransparencySetting | StrokeTransparencySetting | TransparencySetting
InnerShadowSetting
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Number -180–180 | read/write | The angle at which the inner shadow is thrown. (Range: -360 to 360) | |
| Boolean | read/write | If true, the inner shadow effect is applied. | |
| BlendMode | read/write | The blending mode for the inner shadow effect. | |
| Number 0–100 | read/write | The amount to choke the inner shadow (as a percentage of shadow size). (Range: 0 to 100) | |
| Number | String unit | read/write | The distance between the InnerShadowSetting and the shadow. | |
| Swatch | read/write | 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 |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| Number 0–100 | read/write | The amount (as a percentage) of noise to add to the shadow. (Range: 0 to 100) | |
| Number 0–100 | read/write | The opacity (as a percentage) of the inner shadow. (Range: 0 to 100) | |
| FillTransparencySetting | StrokeTransparencySetting | ContentTransparencySetting | TransparencySetting | readonly | The parent of the InnerShadowSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Number | String unit | read/write | The size of the inner shadow. | |
| Boolean | read/write | If true, the global light angle is used. | |
| Number | String unit | read/write | The horizontal offset of the shadow | |
| Number | String unit | read/write | The vertical offset of the shadow |
Methods
Resolves the object specifier, creating an array of object references.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the InnerShadowSetting.
→ String
Retrieves the object specifier.
Object of 7
Properties elsewhere that hold a InnerShadowSetting.
Return 1
Methods that return a InnerShadowSetting.