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#
Copy
public class KeyFrames : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
System.Object
Tizen.NUI.Binding.Element
KeyFrames
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

KeyFrames()

Creates an initialized KeyFrames handle.

Declaration
C#
Copy
public KeyFrames()
API Level: 3

Methods

View Source

Add(Single, Object)

Adds a key frame.

Declaration
C#
Copy
public 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
View Source

Add(Single, Object, AlphaFunction)

Adds a key frame.

Declaration
C#
Copy
public 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
View Source

Add(Single, PropertyValue)

Adds a key frame.

Declaration
C#
Copy
public 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
View Source

Add(Single, PropertyValue, AlphaFunction)

Adds a key frame.

Declaration
C#
Copy
public 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#
Copy
public PropertyType GetType()
Returns
Type Description
PropertyType

The key frame property type

API Level: 3

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable