Skip to main content

Module animation

Module animation 

Source
Expand description

SVG geometry primitives (points, curves, rects, vectors) and animation interpolation functions.

Structs§

InterpolateResolver
Holds context needed to resolve animation interpolation relative to parent and current rects.
SvgCubicCurve
A cubic bezier curve defined by start, two control points, and end point.
SvgPoint
A 2D point with f32 coordinates, used in SVG paths and bezier curves.
SvgQuadraticCurve
A quadratic bezier curve defined by start, one control point, and end point.
SvgRect
An axis-aligned rectangle with optional rounded corners.
SvgVector
A 2D vector with f64 coordinates, used for tangent and direction calculations.

Enums§

AnimationInterpolationFunction
Represents an animation timing function.
OptionSvgPoint