The Tween type exposes the following members.
Constructors
| Name | Description | |||||
|---|---|---|---|---|---|---|
| Tween |
Constructor initializes a new Tween. Each Tween can contains lot of sequences or TweenObjects via AddSequences method.
| |||||
Methods
| Name | Description | |||||
|---|---|---|---|---|---|---|
| AddSequences |
This mehod add a new animation sequence at Tween.
| |||||
| ClearSequences |
This mehod Delete all animations sequences contained by the Tween.
| |||||
| Equals | (Inherited from Object.) | |||||
| Finalize | (Inherited from Object.) | |||||
| GetHashCode | (Inherited from Object.) | |||||
| GetType | (Inherited from Object.) | |||||
| MemberwiseClone | (Inherited from Object.) | |||||
| Pause |
Pause or Resume current animation.
ActualState becomes TweenedState.Paused or TweenedState.RPaused or TweenedState.Reversing or TweenedState.Tweening.
| |||||
| RemoveSequences |
This mehod Delete an animation sequence Tween
| |||||
| Reverse |
Plays the animation back. ActualState becomes TweenedState.Reversing.
| |||||
| Start |
This mehod Plays the animation. ActualState becomes TweenedState.Tweening.
| |||||
| Stop |
Stop animation and animation back if needed. ActualState becomes TweenedState.Stopped.
| |||||
| ToString | (Inherited from Object.) | |||||
Properties
| Name | Description | |
|---|---|---|
| ActualState |
Indicates the current state of animation Tween - ReadOnly
| |
| AutoReverse |
Allows you to automatically manage the autoReverse Tween.
| |
| BeginTime |
BeginTime can shift the start of animation based on a number of seconds
Example:
myTween.BeginTime = = TimeSpan.FromSeconds (2);
Can shift the start of the animation 2 seconds
| |
| Count |
Indicates the number of animation sequences (tweenObject) currently administered by the Tween - ReadOnly
| |
| FreeReference |
FreeReference has been made to contains the reference of your choice. This allows you more flexible design code.
This Field is received when listening the TweenCompleted event or the ReverseCompleted event.
| |
| ReverseSpeedRatio |
Can manage the speed of Reverse Tween. The default is 1.
| |
| TweenSpeedRatio |
Can manage the speed of Tween. The default is 1.
La valeur 0.5 multipliera la dure de l'animation par 2
|
Events
| Name | Description | |||||
|---|---|---|---|---|---|---|
| ReverseCompleted |
Event triggered when the animation back Tween is complete. for use with the AutoReverse or method Reverse
| |||||
| TweenCompleted |
Event triggered when the animation Tween is complete.
| |||||