Skip to content

Intermact API Reference / @intermact/core / FitOptions

Interface: FitOptions ​

Defined in: packages/core/src/scene/layout.ts:45

Common options for tween-based animations (design.md §11.4).

Extends ​

Properties ​

clamp? ​

readonly optional clamp?: boolean

Defined in: packages/core/src/animation/spec.ts:18

Clamp progress to [0,1] (default true; reserved for M4 extrapolation).

Inherited from ​

TweenOptions.clamp


delay? ​

readonly optional delay?: number

Defined in: packages/core/src/animation/spec.ts:16

Delay before the tween starts (seconds).

Inherited from ​

TweenOptions.delay


duration? ​

readonly optional duration?: number

Defined in: packages/core/src/animation/spec.ts:13

Inherited from ​

TweenOptions.duration


easing? ​

readonly optional easing?: Easing

Defined in: packages/core/src/animation/spec.ts:14

Inherited from ​

TweenOptions.easing


padding? ​

readonly optional padding?: number

Defined in: packages/core/src/scene/layout.ts:47

Inset applied to the target bounds before fitting (default 0).

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)