CALCMODE Attribute | calcMode Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Sets or gets the interpolation mode for the animateMotion object.

Syntax

HTML <t:ANIMATEMOTION CALCMODE = sMode... >
Scripting [ sMode = ] t:ANIMATEMOTION.calcMode [ = sMode ]

Possible Values

sMode String that specifies or receives one of the following values.
discrete
The animation jumps from one value to the next value, with no interpolation.
linear
The animation uses simple linear interpolation between values to calculate the animation function.
paced
Default. The animation defines an even pace of change across the animation. This is only supported for attribute values that define a linear numeric range, and for which a notion of distance between points can be calculated, such as width or height.
spline
The animation interpolates from one value to the next value, according to a time function defined by a cubic Bezier spline. The points of the spline are defined in the keyTimes property, and the control points for each interval are defined in the keySplines property.

The property is read/write. The property has a default value of paced.

Remarks

The default value for the t:ANIMATEMOTION element is paced.

Applies To

t:ANIMATEMOTION

See Also

Introduction to HTML+TIME