Class AnimationExtensions
Inheritance
System.Object
AnimationExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Tizen.UIExtensions.NUI.dll
Syntax
public static class AnimationExtensions
Methods
AbortAnimation(IAnimatable, String)
Declaration
public static bool AbortAnimation(this IAnimatable self, string handle)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
handle |
|
Returns
Type |
Description |
System.Boolean |
|
Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double, Boolean>, Func<Boolean>)
Declaration
public static void Animate(this IAnimatable self, string name, Action<double> callback, double start, double end, uint rate = 16U, uint length = 250U, Easing easing = null, Action<double, bool> finished = null, Func<bool> repeat = null)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
name |
|
System.Action<System.Double> |
callback |
|
System.Double |
start |
|
System.Double |
end |
|
System.UInt32 |
rate |
|
System.UInt32 |
length |
|
Easing |
easing |
|
System.Action<System.Double, System.Boolean> |
finished |
|
System.Func<System.Boolean> |
repeat |
|
Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double, Boolean>, Func<Boolean>)
Declaration
public static void Animate(this IAnimatable self, string name, Action<double> callback, uint rate = 16U, uint length = 250U, Easing easing = null, Action<double, bool> finished = null, Func<bool> repeat = null)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
name |
|
System.Action<System.Double> |
callback |
|
System.UInt32 |
rate |
|
System.UInt32 |
length |
|
Easing |
easing |
|
System.Action<System.Double, System.Boolean> |
finished |
|
System.Func<System.Boolean> |
repeat |
|
Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double, Boolean>, Func<Boolean>)
Declaration
public static void Animate(this IAnimatable self, string name, Animation animation, uint rate = 16U, uint length = 250U, Easing easing = null, Action<double, bool> finished = null, Func<bool> repeat = null)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
name |
|
Animation |
animation |
|
System.UInt32 |
rate |
|
System.UInt32 |
length |
|
Easing |
easing |
|
System.Action<System.Double, System.Boolean> |
finished |
|
System.Func<System.Boolean> |
repeat |
|
Animate<T>(IAnimatable, String, Func<Double, T>, Action<T>, UInt32, UInt32, Easing, Action<T, Boolean>, Func<Boolean>)
Declaration
public static void Animate<T>(this IAnimatable self, string name, Func<double, T> transform, Action<T> callback, uint rate = 16U, uint length = 250U, Easing easing = null, Action<T, bool> finished = null, Func<bool> repeat = null)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
name |
|
System.Func<System.Double, T> |
transform |
|
System.Action<T> |
callback |
|
System.UInt32 |
rate |
|
System.UInt32 |
length |
|
Easing |
easing |
|
System.Action<T, System.Boolean> |
finished |
|
System.Func<System.Boolean> |
repeat |
|
Type Parameters
AnimateKinetic(IAnimatable, String, Func<Double, Double, Boolean>, Double, Double, Action)
Declaration
public static void AnimateKinetic(this IAnimatable self, string name, Func<double, double, bool> callback, double velocity, double drag, Action finished = null)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
name |
|
System.Func<System.Double, System.Double, System.Boolean> |
callback |
|
System.Double |
velocity |
|
System.Double |
drag |
|
System.Action |
finished |
|
AnimationIsRunning(IAnimatable, String)
Declaration
public static bool AnimationIsRunning(this IAnimatable self, string handle)
Parameters
Type |
Name |
Description |
IAnimatable |
self |
|
System.String |
handle |
|
Returns
Type |
Description |
System.Boolean |
|
Batch(IAnimatable)
Declaration
public static IDisposable Batch(this IAnimatable self)
Parameters
Returns
Type |
Description |
System.IDisposable |
|
Interpolate(Double, Double, Double, Boolean)
Declaration
public static Func<double, double> Interpolate(double start, double end = 1, double reverseVal = 0, bool reverse = false)
Parameters
Type |
Name |
Description |
System.Double |
start |
|
System.Double |
end |
|
System.Double |
reverseVal |
|
System.Boolean |
reverse |
|
Returns
Type |
Description |
System.Func<System.Double, System.Double> |
|