C# Class Lousy.Mon.CodeAnimator

Frontend for running arbitrary code after an animation.

Note: Specifying a duration using For() creates a dummy animation that lasts for the specified duration.

Inheritance: AbstractAnimator
Afficher le fichier Open project: ThatLousyGuy/Monolith Class Usage Examples

Protected Properties

Свойство Type Description
_delegate CodeDelegate

Méthodes publiques

Méthode Description
After ( EventToken token ) : EventToken

Executes the user code after the animation animation represented by the specified token.

Note: This method produces a working EventToken

After ( EventToken token, double duration, OrSo timeType ) : EventToken

Executes the user code a specified duration after the animation represented by the specified token.

Note: This method produces a working EventToken

After ( double duration, OrSo timeType ) : EventToken

Executes the user code after a specified duration.

Note: This method produces a working EventToken

CodeAnimator ( CodeDelegate del ) : System
For ( double duration, OrSo timeType ) : IAnimator

Dummy method. Does nothing.

Now ( ) : EventToken

Runs the user code immediately

Méthodes protégées

Méthode Description
ApplyAnimationParams ( Timeline animation ) : void
CreateAnimation ( ) : Timeline

Private Methods

Méthode Description
CodeAnimator ( UIElement elem ) : System

Method Details

After() public méthode

Executes the user code after the animation animation represented by the specified token.

Note: This method produces a working EventToken

public After ( EventToken token ) : EventToken
token EventToken
Résultat EventToken

After() public méthode

Executes the user code a specified duration after the animation represented by the specified token.

Note: This method produces a working EventToken

public After ( EventToken token, double duration, OrSo timeType ) : EventToken
token EventToken
duration double
timeType OrSo
Résultat EventToken

After() public méthode

Executes the user code after a specified duration.

Note: This method produces a working EventToken

public After ( double duration, OrSo timeType ) : EventToken
duration double
timeType OrSo
Résultat EventToken

ApplyAnimationParams() protected méthode

protected ApplyAnimationParams ( Timeline animation ) : void
animation Windows.UI.Xaml.Media.Animation.Timeline
Résultat void

CodeAnimator() public méthode

public CodeAnimator ( CodeDelegate del ) : System
del CodeDelegate
Résultat System

CreateAnimation() protected méthode

protected CreateAnimation ( ) : Timeline
Résultat Windows.UI.Xaml.Media.Animation.Timeline

For() public méthode

Dummy method. Does nothing.
public For ( double duration, OrSo timeType ) : IAnimator
duration double
timeType OrSo
Résultat IAnimator

Now() public méthode

Runs the user code immediately
public Now ( ) : EventToken
Résultat EventToken

Property Details

_delegate protected_oe property

protected CodeDelegate _delegate
Résultat CodeDelegate