Detailed Description

A loaded animation. These are available from Document.Animations; a dictionary from animation name to these objects. Note that the Document.Animations entry is defined within this file at the bottom.

Inheritance diagram for Css.KeyframesRule:
Css.Rule

Public Member Functions

 KeyframesRule (StyleSheet sheet, Css.Value rawValue, string name, List< Rule > frames)
 
KeyframesKeyframe GetFrame (int id)
 Gets the given frame by ID. More...
 
void AddToDocument (ReflowDocument document)
 The parent rule of this rule. More...
 
void RemoveFromDocument (ReflowDocument document)
 Removes this rule from the lookups in the given document. More...
 

Public Attributes

string Name
 Name. More...
 
Css.Value RawValue
 The raw CSS value. More...
 
StyleSheet ParentSheet
 The parent stylesheet. More...
 
int FrameCount
 The number of frames in this animation. More...
 
KeyframesKeyframe[] Frames
 The frames set. More...
 

Properties

string cssText [get, set]
 The CSS text of this rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent stylesheet. More...
 
int type [get]
 Rule type. More...
 
- Properties inherited from Css.Rule
int type [get]
 The type of rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent style sheet. More...
 
string cssText [get, set]
 The CSS text. More...
 

Constructor & Destructor Documentation

Css.KeyframesRule.KeyframesRule ( StyleSheet  sheet,
Css.Value  rawValue,
string  name,
List< Rule frames 
)
inline

Member Function Documentation

void Css.KeyframesRule.AddToDocument ( ReflowDocument  document)
inline

The parent rule of this rule.

Adds this rule to the lookups in the given document.

Implements Css.Rule.

KeyframesKeyframe Css.KeyframesRule.GetFrame ( int  id)
inline

Gets the given frame by ID.

void Css.KeyframesRule.RemoveFromDocument ( ReflowDocument  document)
inline

Removes this rule from the lookups in the given document.

Implements Css.Rule.

Member Data Documentation

int Css.KeyframesRule.FrameCount

The number of frames in this animation.

KeyframesKeyframe [] Css.KeyframesRule.Frames

The frames set.

string Css.KeyframesRule.Name

Name.

StyleSheet Css.KeyframesRule.ParentSheet

The parent stylesheet.

Css.Value Css.KeyframesRule.RawValue

The raw CSS value.

Property Documentation

string Css.KeyframesRule.cssText
getset

The CSS text of this rule.

StyleSheet Css.KeyframesRule.parentStyleSheet
get

The parent stylesheet.

int Css.KeyframesRule.type
get

Rule type.