Logo FS-Skia-UI

AnimationState<'a> Type

Stateful retargeting value held by the author in their own model. All transitions are pure (Principle IV); the framework owns no hidden mutable animation registry. `Interp` carries the per-`'a` interpolant supplied at `create` so that the interp-free `advance` / `value` signatures (data-model.md) can recompute `Current` for the generic `'a`. (Resolves the contract's internal inconsistency between `create` taking `interp` and the 6-field record having nowhere to store it — see `readiness/package-surface-expectations.md`.)

Record fields

Record Field Description

Current

Full Usage: Current

Field type: 'a
Field type: 'a

Duration

Full Usage: Duration

Field type: TimeSpan
Field type: TimeSpan

Easing

Full Usage: Easing

Field type: Easing
Field type: Easing

Elapsed

Full Usage: Elapsed

Field type: TimeSpan
Field type: TimeSpan

Interp

Full Usage: Interp

Field type: 'a -> 'a -> float -> 'a
Field type: 'a -> 'a -> float -> 'a

Start

Full Usage: Start

Field type: 'a
Field type: 'a

Target

Full Usage: Target

Field type: 'a
Field type: 'a

Type something to start searching.