Skip to content

Interface: InnerShadow ​

A shape's inner shadow (spPr/a:effectLst/a:innerShdw), resolved against the slide theme. Identical fields to OuterShadow — CT_InnerShadowEffect carries the same blurRad/dist/dir + colour — but a distinct type so a consumer can tell an inset shadow from a drop shadow. Distances in points, direction in degrees, matching the write-side shadow: { type: 'inner' }.

Properties ​

angleDeg? ​

optional angleDeg?: number

Offset direction in degrees, clockwise from 3 o'clock (@dir ÷ 60000), or undefined when unset.


blurPt? ​

optional blurPt?: number

Blur radius in points (@blurRad ÷ 12700), or undefined when unset.


colorRef ​

colorRef: ColorRef

The shadow colour, as written and resolved against the slide theme. Its resolved.alpha is the shadow's opacity, absent when it is fully opaque.


offsetPt? ​

optional offsetPt?: number

Offset distance in points (@dist ÷ 12700), or undefined when unset.