InnerShadow
Shade a shape inward from its own edge, as if light fell on it from one side.


After: An InnerShadow under the title: Distance 8, Size 10, Choke 0.1, Opacity 0.85, Angle 120.
This is Photoshop's Inner Shadow, the shadow the layer's edge casts inside it, Distance px away from a light at Angle. At the default 120 the light comes from the upper left, so the shadow lines the top-left inside edge. Choke shrinks the shape before Size px of blur and Noise breaks it up. It stays inside the layer and multiplies black at 75% to start.
Properties
Inner Shadow
| Name | Type | Default | Description |
|---|---|---|---|
| Angle | number | 120 -180 to 180 | The light's angle; with the light at 120 the shadow lines the top-left inside edge. |
| Choke | number | 0 0 to 1 | Shrinks the shape by this fraction of Size before the blur. |
| Color | Color3 | 0, 0, 0 | The shadow's colour. |
| Distance | number | 5 0 to 30000 | How far, in pixels, the shadow moves away from the light. |
| Noise | number | 0 0 to 1 | Breaks the shadow up with noise. |
| Size | number | 5 0 to 250 | The shadow's blur, in pixels, applied after Choke shrinks the shape. |
Layer Style
| BlendMode | string | Multiply Normal, Dissolve, Darken, Multiply, ColorBurn, ClassicColorBurn, LinearBurn, DarkerColor, Lighten, Screen, ColorDodge, ClassicColorDodge, Add, LighterColor, Overlay, SoftLight, HardLight, VividLight, LinearLight, PinLight, HardMix, Difference, Exclusion, Subtract, Divide, Hue, Saturation, Color, Luminosity, StencilAlpha, StencilLuma, SilhouetteAlpha, SilhouetteLuma, AlphaAdd, LuminescentPremul | How the shadow blends: any blend mode, Multiply by default as in Photoshop. |
| Opacity | number | 0.75 0 to 1 |
