CalcMode Enum

CalcMode enumeration

Specifies the calculation modes for interpolating values in SVG animations.

public enum CalcMode

Values

NameValueDescription
Discrete0The animation jumps from one value to the next without any interpolation.
Linear1The animation values are interpolated linearly across the animation duration.
Paced2The animation is paced so that the progress is even across the entire animation.
Spline3The 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