Package limn.animation


@NullMarked package limn.animation
Animated values for widget properties: Transition eases one float toward a target, ColorTransition does the same for a Color, and Easing names the curve both follow.

A transition drives itself off the scene's frame ticker only while moving and unregisters the instant it settles, so an idle widget costs nothing. With no scene (headless, or detached) it jumps straight to the target, which is the "final state, no animation" a test wants. Moving the target is UI-thread-confined like any widget mutation.

  • Class
    Description
    An animated Color: the color counterpart to Transition.
    An easing curve: maps a normalized time t in [0,1] to an eased progress (usually in [0,1], though some curves may overshoot).
    Plays an animated Image: which frame is shown now, given the time that has passed.
    How many turns an animation makes, and which way.
    How long the toolkit's motion takes, given what the user asked the system for.
    One animated float property: the toolkit's reusable "CSS transition".