Css.KeyframesAnimationInstance Class Reference

Detailed Description

An instance of an animation, running on a particular element.

Public Member Functions

 KeyframesAnimationInstance (ComputedStyle style, KeyframesRule anim)
 
void Start ()
 Starts this instance. More...
 
void Advance (UIAnimation anim)
 Go to the next frame. More...
 
void Stop (bool runEvent)
 Halts this instance. More...
 
void SetPause (bool value)
 Changes the paused state of this animation. More...
 

Public Attributes

int Delay
 The delay before this animation plays, in ms. More...
 
bool Backwards
 Currently running backwards? More...
 
int RepeatCount =1
 The amount this animation should repeat. More...
 
ComputedStyle Style
 The style of the element this is on. More...
 
UIAnimation Animation
 The PowerUI animation. More...
 
bool Started
 Started yet? More...
 
float Duration
 The duration of this animation, in s. More...
 
bool Paused
 Is this animation paused? More...
 
KeyframesFill FillMode =KeyframesFill.None
 The fillmode for this animation. More...
 
Css.Value TimingFunction
 The timing function to use. More...
 
KeyframesRule RawAnimation
 The raw animation info. More...
 
KeyframesAnimationDirection Direction =KeyframesAnimationDirection.Forward
 The direction to run this animation in. More...
 
int CurrentFrame
 The current frame ID. More...
 

Private Member Functions

void Run ()
 Runs the current frame. More...
 
void CompletedCycle ()
 Called when a cycle is completed. More...
 

Constructor & Destructor Documentation

Css.KeyframesAnimationInstance.KeyframesAnimationInstance ( ComputedStyle  style,
KeyframesRule  anim 
)
inline

Member Function Documentation

void Css.KeyframesAnimationInstance.Advance ( UIAnimation  anim)
inline

Go to the next frame.

void Css.KeyframesAnimationInstance.CompletedCycle ( )
inlineprivate

Called when a cycle is completed.

void Css.KeyframesAnimationInstance.Run ( )
inlineprivate

Runs the current frame.

void Css.KeyframesAnimationInstance.SetPause ( bool  value)
inline

Changes the paused state of this animation.

void Css.KeyframesAnimationInstance.Start ( )
inline

Starts this instance.

void Css.KeyframesAnimationInstance.Stop ( bool  runEvent)
inline

Halts this instance.

Member Data Documentation

UIAnimation Css.KeyframesAnimationInstance.Animation

The PowerUI animation.

bool Css.KeyframesAnimationInstance.Backwards

Currently running backwards?

int Css.KeyframesAnimationInstance.CurrentFrame

The current frame ID.

int Css.KeyframesAnimationInstance.Delay

The delay before this animation plays, in ms.

KeyframesAnimationDirection Css.KeyframesAnimationInstance.Direction =KeyframesAnimationDirection.Forward

The direction to run this animation in.

float Css.KeyframesAnimationInstance.Duration

The duration of this animation, in s.

KeyframesFill Css.KeyframesAnimationInstance.FillMode =KeyframesFill.None

The fillmode for this animation.

bool Css.KeyframesAnimationInstance.Paused

Is this animation paused?

KeyframesRule Css.KeyframesAnimationInstance.RawAnimation

The raw animation info.

int Css.KeyframesAnimationInstance.RepeatCount =1

The amount this animation should repeat.

bool Css.KeyframesAnimationInstance.Started

Started yet?

ComputedStyle Css.KeyframesAnimationInstance.Style

The style of the element this is on.

Css.Value Css.KeyframesAnimationInstance.TimingFunction

The timing function to use.