Enum CalcMode

Enum CalcMode

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

Specifies the calculation modes for interpolating values in SVG animations.

[ComVisible(true)]
public enum CalcMode

Fields

Discrete = 0

The animation jumps from one value to the next without any interpolation.

In ‘discrete’ mode, the animation steps through the values, updating the attribute or property at each key time.

Linear = 1

The animation values are interpolated linearly across the animation duration.

In ’linear’ mode, the change between values is uniform, creating a steady transition.

Paced = 2

The animation is paced so that the progress is even across the entire animation.

In ‘paced’ mode, the animation maintains a consistent speed, adjusting the timing of value changes accordingly.

Spline = 3

The animation uses cubic Bézier splines to interpolate values.

In ‘spline’ mode, the animation’s pacing and smoothness can be finely controlled using Bézier curves, allowing for more complex and nuanced transitions.

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.

 English