InnerShadowSetting

Inner shadow effect settings.

Properties

Property Type Access Description
angle any r/w The angle at which the inner shadow is thrown. (Range: -360 to 360). Can return: Real (-180 – 180) or NothingEnum enumerator (-180 – 180).
applied any r/w If true, the inner shadow effect is applied. Can return: Boolean or NothingEnum enumerator.
blendMode any r/w The blending mode for the inner shadow effect. Can return: BlendMode enumerator or NothingEnum enumerator.
chokeAmount any r/w The amount to choke the inner shadow (as a percentage of shadow size). (Range: 0 to 100). Can return: Real (0 – 100) or NothingEnum enumerator (0 – 100).
distance any r/w The distance between the InnerShadowSetting and the shadow. . Can return: Unit (0 – 1000 points) or NothingEnum enumerator (0 – 1000).
effectColor any 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. . Can return: Swatch or NothingEnum enumerator.
noise any r/w The amount (as a percentage) of noise to add to the shadow. (Range: 0 to 100). Can return: Real (0 – 100) or NothingEnum enumerator (0 – 100).
opacity any r/w The opacity (as a percentage) of the inner shadow. (Range: 0 to 100). Can return: Real (0 – 100) or NothingEnum enumerator (0 – 100).
parent any 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 any r/w The size of the inner shadow. Can return: Unit (0 – 144 points) or NothingEnum enumerator (0 – 144).
useGlobalLight any r/w If true, the global light angle is used. Can return: Boolean or NothingEnum enumerator.
xOffset any r/w The horizontal offset of the shadow. Can return: Unit (-1000 – 1000 points) or NothingEnum enumerator (-1000 – 1000).
yOffset any r/w The vertical offset of the shadow. Can return: Unit (-1000 – 1000 points) or NothingEnum enumerator (-1000 – 1000).

Methods

Array of InnerShadowSettinggetElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the InnerShadowSetting.

string toSpecifier ()
Retrieves the object specifier.

Element of:

ContentTransparencySetting.innerShadowSettings
FillTransparencySetting.innerShadowSettings
StrokeTransparencySetting.innerShadowSettings
TransparencySetting.innerShadowSettings

Returned by:

Array of InnerShadowSetting InnerShadowSetting .getElements (

)

Leave a Comment

Previous post:

Next post: