Table of Contents

Namespace Xui.Core.Animation

Classes

Easing

Provides a collection of easing functions and smoothing utilities used in animations. All easing methods are normalized to take a parameter t in the range [0, 1].

Structs

ConstantDecelerationCurve

Represents a 1D motion curve with constant deceleration (e.g., for scroll or fling). Starts at a given position and velocity, then decelerates linearly to a stop.

CubicMotionCurve

Represents a 1D cubic motion curve over time, interpolating both position and velocity. Time is expressed using TimeSpan, and calculations are performed in seconds.

Easing.CubicBezier

Represents a CSS-style cubic Bézier easing curve constrained between (0,0) and (1,1).

Easing.PolynomialEasing

Represents a 3rd- or 4th-degree polynomial easing function for animation timing curves.

ExponentialDecayCurve

Represents a motion curve where velocity decays exponentially over time. Commonly used to simulate fling or momentum-based motion with smooth slowdown.

QuadraticMotionCurve

Represents a 1D motion curve under constant acceleration, defined as a quadratic function of time.

This curve is useful for modeling motion that decelerates smoothly to a stop, such as fling or scroll-stop animations.