MotionScript

@motion-script/core


@motion-script/core / resolveChainFill

Function: resolveChainFill()

resolveChainFill(fill): FillProp[]

Defined in: attributes/shape/fill/chain.ts:272

Normalises any Fill value to a plain FillProp[]. Used by resolveFillArray before resolving to the renderer shape.

Already-resolved fills (FillResolved) structurally satisfy FillProp, so they pass straight through and resolveFill re-normalises them idempotently.

Parameters

fill

Fill | undefined

Returns

FillProp[]