@motion-script/core / VideoFillOptions
Interface: VideoFillOptions
Defined in: attributes/shape/fill/chain.ts:29
Author-facing options for a FillChain.video layer.
Extends
Properties
anchor?
optionalanchor?:Anchor
Defined in: attributes/shape/fill/chain.ts:23
The point held fixed as zoom scales; also the alignment when it doesn't cover.
Inherited from
blend?
optionalblend?:"color"|"multiply"|"screen"|"overlay"|"darken"|"lighten"|"color-dodge"|"color-burn"|"hard-light"|"soft-light"|"difference"|"exclusion"|"hue"|"saturation"|"luminosity"|"normal"
Defined in: attributes/shape/fill/chain.ts:55
Inherited from
crop?
optionalcrop?:Insets
Defined in: attributes/shape/fill/chain.ts:19
Window onto the source, in fractions of its own size, applied before fit.
Inherited from
duration?
optionalduration?:number
Defined in: attributes/shape/fill/chain.ts:45
filters?
optionalfilters?:VideoFilter
Defined in: attributes/shape/fill/chain.ts:30
fit?
optionalfit?:ImageFit
Defined in: attributes/shape/fill/chain.ts:17
How the (cropped) source is scaled into the node's bounds. Default 'fill'.
Inherited from
loop?
optionalloop?:"reverse"|"none"|"forward"
Defined in: attributes/shape/fill/chain.ts:44
matrix?
optionalmatrix?:ImageMatrix
Defined in: attributes/shape/fill/chain.ts:25
Raw source→shape matrix; bypasses crop/fit/zoom/anchor and the bounds.
Inherited from
opacity?
optionalopacity?:number
Defined in: attributes/shape/fill/chain.ts:54
Inherited from
playing?
optionalplaying?:boolean
Defined in: attributes/shape/fill/chain.ts:38
Whether playback advances with the node's clock. Defaults to true.
playStart?
optionalplayStart?:number
Defined in: attributes/shape/fill/chain.ts:42
Seconds after the painting node appears before playback begins. Default 0.
space?
optionalspace?:FillSpace
Defined in: attributes/shape/fill/chain.ts:56
Inherited from
speed?
optionalspeed?:number
Defined in: attributes/shape/fill/chain.ts:43
timestamp?
optionaltimestamp?:number|null
Defined in: attributes/shape/fill/chain.ts:36
Explicit source time to paint, in seconds. Omit it and the clip plays by
itself, timed from the moment the node painting it appeared — set it only
to drive the playhead yourself (null hands the playhead back).
trimEnd?
optionaltrimEnd?:number
Defined in: attributes/shape/fill/chain.ts:40
trimStart?
optionaltrimStart?:number
Defined in: attributes/shape/fill/chain.ts:39
zoom?
optionalzoom?:number
Defined in: attributes/shape/fill/chain.ts:21
Magnification on top of the fitted scale. 1 is the fitted size.