@motion-script/core / ShadowResolved
Interface: ShadowResolved
Defined in: attributes/shape/shadow/resolver.ts:29
Fully resolved shadow — all fields normalised with defaults applied. Compatible with the lerp registry (IFill is used for fill to avoid breaking the existing lerp/registry pipeline).
Properties
blur
blur:
number
Defined in: attributes/shape/shadow/resolver.ts:30
fill
fill:
FillResolved[]
Defined in: attributes/shape/shadow/resolver.ts:34
Resolved fill layers, painted bottom-to-top like a node's fill.
inner
inner:
boolean
Defined in: attributes/shape/shadow/resolver.ts:36
When true, the shadow is cast inward (inset) instead of as a drop shadow.
offset?
optionaloffset?:Vector2
Defined in: attributes/shape/shadow/resolver.ts:32
Offset of the shadow from the shape, in px.
spread
spread:
number
Defined in: attributes/shape/shadow/resolver.ts:38
Silhouette grow (positive) / shrink (negative) before blur, in px. Only ellipses and rects honour it.