<html> <head> <title>Constants' Group AnimationCalcMode</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimainnone">Use</td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Constants" class="navisub">Constants</a></td> <td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">animations</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">constants group AnimationCalcMode</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>Specifies the interpolation mode for the animation. </dd> <dt><b>See also</b></dt> <dd>XAnimation, <a href="http://www.w3.org/TR/smil20/animation.html#adef-calcMode">http://www.w3.org/TR/smil20/animation.html#adef-calcMode</a>, <a href="http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode">http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode</a></dd> </dl> </td> </tr> </table> <hr> <a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Constants</td> </tr> <tr> <td class="imsum_left"><a href="#DISCRETE">DISCRETE</a></td> <td class="imsum_right">This specifies that the animation function will jump from one value to the next without any interpolation. </td> </tr> <tr> <td class="imsum_left"><a href="#LINEAR">LINEAR</a></td> <td class="imsum_right">Simple linear interpolation between values is used to calculate the animation function. <br> This is the default. </td> </tr> <tr> <td class="imsum_left"><a href="#PACED">PACED</a></td> <td class="imsum_right">Defines interpolation to produce an even pace of change across the animation. <br> 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.). </td> </tr> <tr> <td class="imsum_left"><a href="#SPLINE">SPLINE</a></td> <td class="imsum_right">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 <a href="#KeyTimes">KeyTimes</a> attribute, and the control points for each interval are defined in the <a href="#KeySplines">KeySplines</a> attribute. </td> </tr> </table> <a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Constants' Details</td> </tr> <tr> <td class="imdetail"><a name="DISCRETE" class="membertitle">DISCRETE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>DISCRETE</b> = 0;<hr> <dl> <dt><b>Description</b></dt> <dd>This specifies that the animation function will jump from one value to the next without any interpolation. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="LINEAR" class="membertitle">LINEAR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>LINEAR</b> = 1;<hr> <dl> <dt><b>Description</b></dt> <dd>Simple linear interpolation between values is used to calculate the animation function. <br> This is the default. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="PACED" class="membertitle">PACED</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>PACED</b> = 2;<hr> <dl> <dt><b>Description</b></dt> <dd>Defines interpolation to produce an even pace of change across the animation. <br> 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.). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="SPLINE" class="membertitle">SPLINE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>SPLINE</b> = 3;<hr> <dl> <dt><b>Description</b></dt> <dd>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 <a href="#KeyTimes">KeyTimes</a> attribute, and the control points for each interval are defined in the <a href="#KeySplines">KeySplines</a> attribute. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>