Свойство | Type | Description | |
---|---|---|---|
OnPlay | void | ||
OnProgress | bool | ||
OnStop | void |
Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Disposes the animation instance.
|
|
Play ( |
Schedules the animation to be played.
|
|
Stop ( ProceduralAnimationStopState stopState ) : void |
Stops playing the animation mid-way. The specified stopState determines the state in which the element being animated is left in.
|
Méthode | Description | |
---|---|---|
PerformCleanup ( ) : void |
Allows the animation to perform any cleanup work once the animation is complete.
|
|
PerformSetup ( ) : void |
Allows the animation to perform any setup work before the animation is started.
|
|
PlayCore ( ) : void |
Plays the animation when it has been scheduled and started.
|
|
ProceduralAnimation ( ) : System |
Initializes an instance of an Animation class.
|
|
ProgressCore ( bool startRepetition, bool startReverse, System.DateTime timeStamp ) : bool |
Progresses the animation to the new current time.
|
|
Repeat ( bool reverse ) : void |
Indicates the animation is being repeated.
|
|
StopCore ( bool completed, ProceduralAnimationStopState stopState ) : void |
Stops the animation when it is no longer scheduled to continue playing.
|
Méthode | Description | |
---|---|---|
OnPlay ( bool reversed ) : void | ||
OnProgress ( System.DateTime timeStamp ) : bool | ||
OnStop ( bool completed, ProceduralAnimationStopState stopState ) : void |
public Play ( |
||
associatedElement | The element to use to control the animation. | |
Résultat | void |
protected abstract ProgressCore ( bool startRepetition, bool startReverse, System.DateTime timeStamp ) : bool | ||
startRepetition | bool | Whether the animation is starting a repetition. |
startReverse | bool | Whether the animation is starting a reverse run. |
timeStamp | System.DateTime | The time stamp to progress the animation through. |
Résultat | bool |
protected Repeat ( bool reverse ) : void | ||
reverse | bool | Whether the next repetition will happen in reverse direction. |
Résultat | void |
public Stop ( ProceduralAnimationStopState stopState ) : void | ||
stopState | ProceduralAnimationStopState | The state of the element upon stopping the animation. |
Résultat | void |
protected abstract StopCore ( bool completed, ProceduralAnimationStopState stopState ) : void | ||
completed | bool | Whether the animation has completed naturally. |
stopState | ProceduralAnimationStopState | The state in which the animation should end if it was interrupted. |
Résultat | void |