Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: animations ::

unpublished constants group AnimationCalcMode
Usage Restrictions
not published
Description
Specifies the interpolation mode for the animation.
See also
XAnimation, http://www.w3.org/TR/smil20/animation.html#adef-calcMode, http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode

Constants
DISCRETE This specifies that the animation function will jump from one value to the next without any interpolation.  
LINEAR Simple linear interpolation between values is used to calculate the animation function.
This is the default.  
PACED Defines interpolation to produce an even pace of change across the animation.
This is only supported for values that define a linear numeric range, and for which some notion of "distance" between points can be calculated (e.g. position, width, height, etc.).  
SPLINE Interpolates from one value in the values list to the next according to a time function defined by a cubic Bezier spline. The points of the spline are defined in the KeyTimes attribute, and the control points for each interval are defined in the KeySplines attribute.  
Constants' Details
DISCRETE
const short DISCRETE = 0;
Description
This specifies that the animation function will jump from one value to the next without any interpolation.
LINEAR
const short LINEAR = 1;
Description
Simple linear interpolation between values is used to calculate the animation function.
This is the default.
PACED
const short PACED = 2;
Description
Defines interpolation to produce an even pace of change across the animation.
This is only supported for values that define a linear numeric range, and for which some notion of "distance" between points can be calculated (e.g. position, width, height, etc.).
SPLINE
const short SPLINE = 3;
Description
Interpolates from one value in the values list to the next according to a time function defined by a cubic Bezier spline. The points of the spline are defined in the KeyTimes attribute, and the control points for each interval are defined in the KeySplines attribute.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.