📄 animationreference.aspx
字号:
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">stop();</div>
Stop playing the animation
</td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>
<a name="ParentAnimation" /><div class="subheading">Parent Animation</div>
<p>
The <span class="codeReference">ParentAnimation</span> serves as a base class for all animations that contain children (such as
<span class="codeReference"><a href="#ParallelAnimation">ParallelAnimation</a></span>,
<span class="codeReference"><a href="#SequenceAnimation">SequenceAnimation</a></span>, etc.). It does not
actually play the animations, so any classes that inherit from it must do so.
</p>
<table class="animationReferenceTable">
<tr class="animationReferenceRow">
<td class="animationReferenceField">Tag:</td>
<td class="animationReferenceCode">Parent</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Class:</td>
<td class="animationReferenceCode">AjaxControlToolkit.Animation.ParentAnimation</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Base:</td>
<td class="animationReferenceCode"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Constructor:</td>
<td class="animationReferenceCode">new AjaxControlToolkit.Animation.ParentAnimation(target, duration, fps, animations);</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Play:</td>
<td class="animationReferenceCode">AjaxControlToolkit.Animation.ParentAnimation.play(target, duration, fps, animations);</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Properties:</td>
<td class="animationReferenceItems">
<table class="animationReferenceItemTable">
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Array animations; // Read Only</div>
Array of child animations to be played. To manipulate this array, use the functions
<span class="codeReference">add</span>, <span class="codeReference">clear</span>,
<span class="codeReference">remove</span>, and <span class="codeReference">removeAt</span>.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number duration;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number fps;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isActive; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isInitialized; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isPlaying; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isUpdating; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number percentComplete; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Object target;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Methods:</td>
<td class="animationReferenceItems">
<table class="animationReferenceItemTable">
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">add(animation);</div>
Add an animation as a child of this animation.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">clear();</div>
Clear the list of child animations.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">dispose();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">getAnimatedValue();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">getDescriptor();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">initialize();</div>
Initialize any of the child animations that have not been initialized yet.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">interpolate(start, end, percentage);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onEnd();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onStart();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onStep(percentage);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">pause();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">play();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">remove(animation);</div>
Remove the <span class="codeReference">animation</span> from the array of child animations.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">removeAt(index);</div>
Remove the animation at a given <span class="codeReference">index</span> from the array of child animations.
</td>
</tr>
<tr class="animationReferenceItemRow">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -