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.
public class KeyFrames : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
Constructors
View SourceKeyFrames()
Creates an initialized KeyFrames handle.
Declaration
public KeyFrames()
API Level: 3
Methods
View SourceAdd(Single, Object)
Adds a key frame.
Declaration
public void Add(float progress, object value)
Parameters
Type | Name | Description |
---|---|---|
Single | progress | A progress value between 0.0 and 1.0. |
Object | value | A value. |
API Level: 3
View SourceAdd(Single, Object, AlphaFunction)
Adds a key frame.
Declaration
public void Add(float progress, object value, AlphaFunction alpha)
Parameters
Type | Name | Description |
---|---|---|
Single | progress | A progress value between 0.0 and 1.0. |
Object | value | A value |
AlphaFunction | alpha | The alpha function used to blend to the next keyframe. |
API Level: 3
View SourceAdd(Single, PropertyValue)
Adds a key frame.
Declaration
public void Add(float progress, PropertyValue value)
Parameters
Type | Name | Description |
---|---|---|
Single | progress | A progress value between 0.0 and 1.0. |
PropertyValue | value | A value. |
API Level: 3
View SourceAdd(Single, PropertyValue, AlphaFunction)
Adds a key frame.
Declaration
public void Add(float progress, PropertyValue value, AlphaFunction alpha)
Parameters
Type | Name | Description |
---|---|---|
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 SourceGetType()
Gets the type of the key frame.
Declaration
public PropertyType GetType()
Returns
Type | Description |
---|---|
PropertyType | The key frame property type |