Class that plays back uia format animation. More...
Public Member Functions | |
UIAnimationPlayer (string filePath) | |
Constructor. | |
void | Play () |
Plays back the animation. | |
void | Stop () |
Stops the animation. | |
void | Pause () |
Pauses the animation. | |
void | Resume () |
Resumes the animation. | |
void | ReplaceWidget (string name, Widget widget) |
Replaces the widget. | |
Static Public Member Functions | |
static UIAnimationPlayer | CreateAndPlay (string filePath) |
UIAnimationPlayer is generated from an uia file and the animation is played back. | |
Protected Member Functions | |
override void | DisposeSelf () |
Frees the unmanaged resources held by this widget. | |
Properties | |
bool | Playing [get] |
Obtains whether the animation is operating. | |
bool | Paused [get] |
Obtains whether the animation is paused. | |
bool | Repeating [get, set] |
Obtains and sets whether the animation will be repeatedly played back. | |
Events | |
EventHandler< EventArgs > | AnimationStopped |
Handler called when the animation is stopped. |
Class that plays back uia format animation.
UIAnimationPlayer | ( | string | filePath | ) |
Constructor.
filePath | uia file path |
static UIAnimationPlayer CreateAndPlay | ( | string | filePath | ) | [static] |
UIAnimationPlayer is generated from an uia file and the animation is played back.
filePath | uia file path |