Sets or retrieves the interpolation mode for the animateMotion object.
Syntax
HTML | <t:ANIMATEMOTION CALCMODE
= sMode... >
|
---|
Scripting | t:ANIMATEMOTION.calcMode(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, without any 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 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
See Also
Introduction to HTML+TIME