Expand description
Renderer-neutral runtime helpers for deterministic UI motion.
Structs§
- Motion
Retarget Item - A target item paired with the currently sampled value for the same identity.
- Motion
Retarget Set - Stable-id retargeting result for a new target set.
- Motion
Snapshot - A stable-id value captured from a motion sample or target state.
- Motion
Timeline - A deterministic timeline for one UI motion transition.
- Motion
Timeline Sample - A sampled point on a motion timeline.
Enums§
- Motion
Edge - Logical edge used by renderer-neutral rect motion helpers.
- Motion
RunState - Runtime state for sampled motion.
Functions§
- lerp_
rect - Samples a rect between two rects at unit progress.
- motion_
source_ rect - Returns bounds for the rect just outside the container on the chosen edge.
- preferred_
motion_ edge - Chooses the best edge to move a rect out of a containing rect.
- retarget_
motion_ snapshots - Matches sampled values to a new target set by stable identity.
- reveal_
rect_ from_ edge - Samples the visible sub-rect revealed from an edge at unit progress.