Svg.Animation contains the repository's shared SVG animation runtime. It is the package that evaluates SMIL timing, computes per-frame state, exposes host-backend contracts, and provides the controller surface used by the runtime and UI integrations.
dotnet add package Svg.Animation
| Type | Role |
|---|---|
SvgAnimationController |
Evaluates timing, creates animated documents, and applies frame state |
SvgAnimationFrameState |
Snapshot of resolved animation values for a point in time |
SvgAnimationClock |
Advances, seeks, and resets the SVG animation timeline |
SvgAnimationHostBackend |
Shared host-backend enum used by runtime/UI integrations |
SvgAnimationHostBackendResolver |
Chooses an actual playback backend from host capabilities |
SvgAnimationFrameChangedEventArgs |
Notifies hosts that a new frame was produced |
Svg.Animation separates animation concerns from the higher-level host packages:
This lets Svg.Skia, Svg.Controls.Skia.Avalonia, and Svg.Controls.Skia.Uno share one animation engine instead of each reimplementing timing behavior.
SvgDocument.SvgAnimationController.Svg.Animation to drive runtime playback and frame invalidation.Svg.Animation