Class KeyFrames
Definition
- Assembly:
- Tizen.NUI.dll
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, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceKeyFrames()
Creates an initialized KeyFrames handle.
Declaration
public KeyFrames()
Methods
View SourceAdd(float, object, AlphaFunction)
Adds a key frame.
Declaration
public void Add(float progress, object value, AlphaFunction alpha)
Parameters
| Type | Name | Description |
|---|---|---|
| float | 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. |
Add(float, object)
Adds a key frame.
Declaration
public void Add(float progress, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | progress | A progress value between 0.0 and 1.0. |
| object | value | A value. |
Add(float, PropertyValue, AlphaFunction)
Adds a key frame.
Declaration
public void Add(float progress, PropertyValue value, AlphaFunction alpha)
Parameters
| Type | Name | Description |
|---|---|---|
| float | 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. |
Add(float, PropertyValue)
Adds a key frame.
Declaration
public void Add(float progress, PropertyValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | progress | A progress value between 0.0 and 1.0. |
| PropertyValue | value | A value. |
Dispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type |
Overrides
View SourceGetType()
Gets the type of the key frame.
Declaration
public PropertyType GetType()
Returns
| Type | Description |
|---|---|
| PropertyType | The key frame property type |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable