@motion-script/core / OutlineEffect
Interface: OutlineEffect
Defined in: attributes/shape/effects/implementations/outline.ts:22
A coloured band traced around the node's silhouette — the alpha outline (a.k.a. "stroke" in Figma) that geometry strokes can't give you when the silhouette comes from text, an image's alpha, or a whole subtree.
Extends
Properties
color
color:
Color
Defined in: attributes/shape/effects/implementations/outline.ts:27
Band colour — any CSS colour, theme alias, or RGBA tuple.
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
position
position:
OutlinePosition
Defined in: attributes/shape/effects/implementations/outline.ts:29
Which side of the silhouette edge the band grows from.
type
type:
"outline"
Defined in: attributes/shape/effects/implementations/outline.ts:23
width
width:
number
Defined in: attributes/shape/effects/implementations/outline.ts:25
Band thickness in px. 0 = off.