English:

The Free and Open Productivity Suite
Help us Help the World

Developer's Guide

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 Feather

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

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