Expand description
SVG geometry primitives (points, curves, rects, vectors) and animation interpolation functions.
Structs§
- Animation
Timing Bezier - A
cubic-bezier(x1, y1, x2, y2)control-point pair in PERMILLE. - Interpolate
Resolver - Holds context needed to resolve animation interpolation relative to parent and current rects.
- Spring
Curve - Mass-spring-damper parameters for
AnimationInterpolationFunction::Spring. - Style
Animation - One entry of
animation/-azul-animation-in/-azul-animation-out. - Style
Animation Vec - Style
Animation VecSlice - C-compatible slice type for
$struct_name. This is a non-owning view into a Vec’s data. - SvgCubic
Curve - 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.
- SvgQuadratic
Curve - 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§
- Animation
Interpolation Function - Represents an animation timing function.
- Animation
Iteration Count - How many times an animation plays.
Infiniteis what makes a CSS spinner expressible; presence EXITS clamp it to one run (an infinite exit would never reap its zombie). - Animation
Timing - Timing for
StyleAnimation. - Option
Style Animation - Option
SvgPoint - Style
Animation Parse Error - Style
Animation Parse Error Owned - Style
Animation VecDestructor
Functions§
- parse_
style_ animation - Parse
<name> <duration> [<delay>] [<timing>] [infinite | <count>]. - parse_
style_ animation_ vec - The full
animationvalue: a COMMA-SEPARATED list, one entry per animation, so different properties can animate on different clocks (animation: width 1s linear, color 2s ease-out).