CALCMODE Attribute | calcMode参数属性 | DHTML中文手册 |
Sets or retrieves the interpolation mode for the animatemotion object.
dhtml语法
HTML <t:ANIMATEMOTION CALCMODE = sMode... > Scripting t:ANIMATEMOTION.calcMode(calcmode) [ = sMode ]
DHTML可能的值
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
t:ANIMATEMOTION
更多语法参考
Introduction to HTML+TIME