CalcMode enumeration

CalcMode enumeration

Specifies the calculation modes for interpolating values in SVG animations.

The CalcMode type exposes the following members:

Fields

FieldDescription
DISCRETEThe animation jumps from one value to the next without any interpolation.
LINEARThe animation values are interpolated linearly across the animation duration.
PACEDThe animation is paced so that the progress is even across the entire animation.
SPLINEThe animation uses cubic Bézier splines to interpolate values.

Remarks

The calculation mode determines how an SVG animation transitions between values over the course of the animation. Different modes can be used to create various effects and control the animation’s pacing and smoothness.

See Also