Class KeyFrames
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
A set of key frames for a property that can be animated using DALi animation.
This allows the generation of key frame objects from individual Property::Values.
C#Copypublic class KeyFrames : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic KeyFrames()
API Level: 3
Methods
Declaration
C#Copypublic void Add(float progress, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | progress | A progress value between 0.0 and 1.0. |
System.Object | value | A value. |
API Level: 3
Declaration
C#Copypublic void Add(float progress, object value, AlphaFunction alpha)
Parameters
Type | Name | Description |
---|---|---|
System.Single | progress | A progress value between 0.0 and 1.0. |
System.Object | value | A value |
AlphaFunction | alpha | The alpha function used to blend to the next keyframe. |
API Level: 3
Declaration
C#Copypublic void Add(float progress, PropertyValue value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | progress | A progress value between 0.0 and 1.0. |
PropertyValue | value | A value. |
API Level: 3
Declaration
C#Copypublic void Add(float progress, PropertyValue value, AlphaFunction alpha)
Parameters
Type | Name | Description |
---|---|---|
System.Single | progress | A progress value between 0.0 and 1.0. |
PropertyValue | value | A value. |
AlphaFunction | alpha | The alpha function used to blend to the next keyframe. |
API Level: 3
View Source
GetType()
Gets the type of the key frame.
An empty key frame will return PropertyType.None, wheras an initialised
key frame object will return the type of it's first element.
Declaration
C#Copypublic PropertyType GetType()
Returns
Type | Description |
---|---|
PropertyType | The key frame property type |
API Level: 3
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable