private event EventHandler animationFinishedEventHandler;
- /**
- * @brief Event for the finished signal which can be used to subscribe or unsubscribe the event handler.
- * The finished signal is emitted when an animation's animations have finished.
- */
+ /// <summary>
+ /// Event for the finished signal which can be used to subscribe or unsubscribe the event handler.<br />
+ /// The finished signal is emitted when an animation's animations have finished.<br />
+ /// </summary>
/// <since_tizen> 3 </since_tizen>
public event EventHandler Finished
{
private event EventHandler animationProgressReachedEventHandler;
- /**
- * @brief Event for the ProgressReached signal, which can be used to subscribe or unsubscribe the event handler.
- * The ProgressReached signal is emitted when the animation has reached a given progress percentage, this is set in the api SetProgressNotification.
- */
+ /// <summary>
+ /// Event for the ProgressReached signal, which can be used to subscribe or unsubscribe the event handler.<br />
+ /// The ProgressReached signal is emitted when the animation has reached a given progress percentage, this is set in the api SetProgressNotification.<br />
+ /// </summary>
+ /// <remark>
+ /// This value only be applied if animation state is Stopped.
+ /// </remark>
/// <since_tizen> 3 </since_tizen>
public event EventHandler ProgressReached
{
}
/// <summary>
+ /// Enumeration for what looping mode is in.
+ /// </summary>
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
+ public enum LoopingModes
+ {
+ /// <summary>
+ /// When the animation arrives at the end in looping mode, the animation restarts from the beginning. (Default)
+ /// </summary>
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Restart,
+ /// <summary>
+ /// When the animation arrives at the end in looping mode, the animation reverses direction and runs backwards again.
+ /// </summary>
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ AutoReverse
+ }
+
+ /// <summary>
/// Gets or sets the duration in milliseconds of the animation.
/// This duration is applied to the animations are added after the Duration is set.
/// </summary>
/// <summary>
/// Gets or sets the end action of the animation.<br />
/// This action is performed when the animation ends or if it is stopped.<br />
- /// The default end action is cancel.<br />
+ /// The default end action is EndActions.Cancel.<br />
/// </summary>
+ /// <remark>
+ /// Change the action value from EndActions.Discard, or to EndActions.Discard during animation is playing / paused will not works well.
+ /// </remark>
/// <since_tizen> 3 </since_tizen>
public EndActions EndAction
{
/// <summary>
/// Gets or sets the disconnect action.<br />
/// If any of the animated property owners are disconnected from the stage while the animation is being played, then this action is performed.<br />
- /// The default action is cancel.<br />
+ /// The default action is EndActions.StopFinal.<br />
/// </summary>
/// <since_tizen> 3 </since_tizen>
public EndActions DisconnectAction
/// <summary>
/// Gets or sets the progress notification marker which triggers the ProgressReachedSignal.<br />
- /// Percentage of animation progress should be greater than 0 and less than 1, for example, 0.3 for 30% <br />
+ /// Percentage of animation progress should be greater than 0 and less than 1, for example, 0.3 for 30%<br />
/// One notification can be set on each animation.
/// </summary>
+ /// <remark>
+ /// This value only be applied if animation state is Stopped.
+ /// </remark>
/// <since_tizen> 3 </since_tizen>
public float ProgressNotification
{
}
/// <summary>
+ /// Enumeration for what looping mode is in.
+ /// </summary>
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public LoopingModes LoopingMode
+ {
+ set
+ {
+ Interop.Animation.SetLoopingMode(SwigCPtr, (int)value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get
+ {
+ Animation.LoopingModes ret = (Animation.LoopingModes)Interop.Animation.GetLoopingMode(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
+ return ret;
+ }
+ }
+
+ /// <summary>
+ /// Sets and Gets the blend point to interpolate animate property
+ ///
+ /// BlendPoint is a value between [0,1], If the value of the keyframe whose progress is 0 is different from the current value,
+ /// the property is animated as it smoothly blends until the progress reaches the blendPoint.
+ /// </summary>
+ /// <remarks>
+ /// The blend point only affects animation registered with AnimateBetween. Other animations operate the same as when Play() is called.
+ /// And the blend point needs to be set before this animation plays. If the blend point changes after playback, animation continuity cannot be guaranteed.
+ /// </remarks>
+ /// <remarks>
+ /// In the case of a looping animation, the animation is blended only in the first loop.
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public float BlendPoint
+ {
+ set
+ {
+ Interop.Animation.SetBlendPoint(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get
+ {
+ float ret = Interop.Animation.GetBlendPoint(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
+ return ret;
+ }
+ }
+
+ /// <summary>
/// Gets or sets the properties of the animation.
/// </summary>
//ToDo : will raise deprecated-ACR, [Obsolete("Deprecated in API9, will be removed in API11, Use PropertyList instead")]
}
/// <summary>
- /// Stops the animation.
+ /// Stops the animation. It will change this animation's EndAction property.
/// </summary>
+ /// <remarks>
+ /// Change the value from EndActions.Discard, or to EndActions.Discard during animation is playing / paused will not works well.<br/>
+ /// If you want to stop by EndActions.Discard, EndAction property also should be EndActions.Discard before Play API called. <br/>
+ /// <br/>
+ /// This method is deprecated since API11 because EndActions property concept is not matched with Stop(). <br/>
+ /// Use <see cref="EndAction"/> property instead.
+ /// </remarks>
/// <param name="action">The end action can be set.</param>
/// <since_tizen> 3 </since_tizen>
- public void Stop(EndActions action = EndActions.Cancel)
+ [Obsolete("Deprecated in API11, will be removed in API13. Use EndAction property instead.")]
+ public void Stop(EndActions action)
{
SetEndAction(action);
Interop.Animation.Stop(SwigCPtr);
/// <summary>
/// Animates a property value by a relative amount.<br />
/// </summary>
- /// <param name="target">The target object to animate.</param>
+ /// <param name="target">The target animatable object to animate.</param>
/// <param name="property">The target property to animate.</param>
/// <param name="relativeValue">The property value will change by this amount.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
/// <exception cref="ArgumentNullException"> Thrown when target or property or relativeValue is null. </exception>
/// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given relativeValue is invalid format. </exception>
- /// <since_tizen> 3 </since_tizen>
- public void AnimateBy(View target, string property, object relativeValue, AlphaFunction alphaFunction = null)
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void AnimateBy(Animatable target, string property, object relativeValue, AlphaFunction alphaFunction = null)
{
if (target == null)
{
var current = result;
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(relativeValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateByIntPtr(current.Property, targetValueIntPtr, alphaFunction);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(relativeValue) ?? throw new ArgumentException("Invalid " + nameof(relativeValue));
- AnimateBy(current.Property, targetValue, alphaFunction);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
/// <summary>
/// Animates a property value by a relative amount.<br />
/// </summary>
- /// <param name="target">The target object to animate.</param>
+ /// <param name="target">The target animatable object to animate.</param>
/// <param name="property">The target property to animate.</param>
/// <param name="relativeValue">The property value will change by this amount.</param>
/// <param name="startTime">The start time of the animation.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
/// <exception cref="ArgumentNullException"> Thrown when target or property or relativeValue is null. </exception>
/// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given relativeValue is invalid format. </exception>
- /// <since_tizen> 3 </since_tizen>
- public void AnimateBy(View target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void AnimateBy(Animatable target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
{
if (target == null)
{
using (var time = new TimePeriod(startTime, endTime - startTime))
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(relativeValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateByIntPtr(current.Property, targetValueIntPtr, alphaFunction, time);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(relativeValue) ?? throw new ArgumentException("Invalid " + nameof(relativeValue));
- AnimateBy(current.Property, targetValue, alphaFunction, time);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
}
/// <summary>
- /// Animates a property to a destination value.<br />
+ /// Animates a property value by a relative amount.<br />
/// </summary>
/// <param name="target">The target object to animate.</param>
/// <param name="property">The target property to animate.</param>
+ /// <param name="relativeValue">The property value will change by this amount.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or relativeValue is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given relativeValue is invalid format. </exception>
+ /// <since_tizen> 3 </since_tizen>
+ public void AnimateBy(View target, string property, object relativeValue, AlphaFunction alphaFunction = null)
+ {
+ AnimateBy(target as Animatable, property, relativeValue, alphaFunction);
+ }
+
+ /// <summary>
+ /// Animates a property value by a relative amount.<br />
+ /// </summary>
+ /// <param name="target">The target object to animate.</param>
+ /// <param name="property">The target property to animate.</param>
+ /// <param name="relativeValue">The property value will change by this amount.</param>
+ /// <param name="startTime">The start time of the animation.</param>
+ /// <param name="endTime">The end time of the animation.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or relativeValue is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given relativeValue is invalid format. </exception>
+ /// <since_tizen> 3 </since_tizen>
+ public void AnimateBy(View target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+ {
+ AnimateBy(target as Animatable, property, relativeValue, startTime, endTime, alphaFunction);
+ }
+
+ /// <summary>
+ /// Animates a property to a destination value.<br />
+ /// </summary>
+ /// <param name="target">The target animatable object to animate.</param>
+ /// <param name="property">The target property to animate.</param>
/// <param name="destinationValue">The destination value.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
/// <exception cref="ArgumentNullException"> Thrown when target or property or destinationValue is null. </exception>
/// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given destinationValue is invalid format. </exception>
- /// <since_tizen> 3 </since_tizen>
- public void AnimateTo(View target, string property, object destinationValue, AlphaFunction alphaFunction = null)
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void AnimateTo(Animatable target, string property, object destinationValue, AlphaFunction alphaFunction = null)
{
if (target == null)
{
var current = result;
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(destinationValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateToIntPtr(current.Property, targetValueIntPtr, alphaFunction);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(destinationValue) ?? throw new ArgumentException("Invalid " + nameof(destinationValue));
- AnimateTo(current.Property, targetValue, alphaFunction);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
}
/// <summary>
+ /// Animates a property to a destination value.<br />
+ /// </summary>
+ /// <param name="target">The target animatable object to animate.</param>
+ /// <param name="property">The target property to animate.</param>
+ /// <param name="destinationValue">The destination value.</param>
+ /// <param name="startTime">The start time of the animation.</param>
+ /// <param name="endTime">The end time of the animation.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or destinationValue is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given destinationValue is invalid format. </exception>
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void AnimateTo(Animatable target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+ {
+ if (target == null)
+ {
+ throw new ArgumentNullException(nameof(target));
+ }
+ if (property == null)
+ {
+ throw new ArgumentNullException(nameof(property));
+ }
+ if (destinationValue == null)
+ {
+ throw new ArgumentNullException(nameof(destinationValue));
+ }
+
+ using (var result = PropertyHelper.Search(target, property))
+ {
+ if (result == null)
+ {
+ throw new ArgumentException("string property is invalid");
+ }
+
+ var current = result;
+ using (var time = new TimePeriod(startTime, endTime - startTime))
+ while (current != null)
+ {
+#if NUI_ANIMATION_PROPERTY_CHANGE_1
+ var targetValueIntPtr = current.RefineValueIntPtr(destinationValue);
+ if (targetValueIntPtr == global::System.IntPtr.Zero)
+ {
+ throw new ArgumentException("Invalid " + nameof(destinationValue));
+ }
+ AnimateToIntPtr(current.Property, targetValueIntPtr, alphaFunction, time);
+ Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
+#else
+ var targetValue = current.RefineValue(destinationValue) ?? throw new ArgumentException("Invalid " + nameof(destinationValue));
+ AnimateTo(current.Property, targetValue, alphaFunction, time);
+ targetValue.Dispose();
+#endif
+ current = current.NextResult;
+ }
+ }
+ }
+
+ /// <summary>
+ /// Animates a property to a destination value.<br />
+ /// </summary>
+ /// <param name="target">The target object to animate.</param>
+ /// <param name="property">The target property to animate.</param>
+ /// <param name="destinationValue">The destination value.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or destinationValue is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given destinationValue is invalid format. </exception>
+ /// <since_tizen> 3 </since_tizen>
+ public void AnimateTo(View target, string property, object destinationValue, AlphaFunction alphaFunction = null)
+ {
+ AnimateTo(target as Animatable, property, destinationValue, alphaFunction);
+ }
+
+ /// <summary>
+ /// Animates a property to a destination value.<br />
+ /// </summary>
+ /// <param name="target">The target object to animate.</param>
+ /// <param name="property">The target property to animate.</param>
+ /// <param name="destinationValue">The destination value.</param>
+ /// <param name="startTime">The start time of the animation.</param>
+ /// <param name="endTime">The end time of the animation.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or destinationValue is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given destinationValue is invalid format. </exception>
+ /// <since_tizen> 3 </since_tizen>
+ public void AnimateTo(View target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+ {
+ AnimateTo(target as Animatable, property, destinationValue, startTime, endTime, alphaFunction);
+ }
+
+ /// <summary>
/// Animates one or more properties to a destination value.<br />
/// </summary>
/// <param name="target">The target object to animate.</param>
}
/// <summary>
- /// Animates a property to a destination value.<br />
- /// </summary>
- /// <param name="target">The target object to animate.</param>
- /// <param name="property">The target property to animate.</param>
- /// <param name="destinationValue">The destination value.</param>
- /// <param name="startTime">The start time of the animation.</param>
- /// <param name="endTime">The end time of the animation.</param>
- /// <param name="alphaFunction">The alpha function to apply.</param>
- /// <exception cref="ArgumentNullException"> Thrown when target or property or destinationValue is null. </exception>
- /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given destinationValue is invalid format. </exception>
- /// <since_tizen> 3 </since_tizen>
- public void AnimateTo(View target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
- {
- if (target == null)
- {
- throw new ArgumentNullException(nameof(target));
- }
- if (property == null)
- {
- throw new ArgumentNullException(nameof(property));
- }
- if (destinationValue == null)
- {
- throw new ArgumentNullException(nameof(destinationValue));
- }
-
- using (var result = PropertyHelper.Search(target, property))
- {
- if (result == null)
- {
- throw new ArgumentException("string property is invalid");
- }
-
- var current = result;
- using (var time = new TimePeriod(startTime, endTime - startTime))
- while (current != null)
- {
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
- var targetValueIntPtr = current.RefineValueIntPtr(destinationValue);
- if (targetValueIntPtr == global::System.IntPtr.Zero)
- {
- throw new ArgumentException("Invalid " + nameof(destinationValue));
- }
- AnimateToIntPtr(current.Property, targetValueIntPtr, alphaFunction, time);
- Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(destinationValue) ?? throw new ArgumentException("Invalid " + nameof(destinationValue));
- AnimateTo(current.Property, targetValue, alphaFunction, time);
- targetValue.Dispose();
-#endif
- current = current.NextResult;
- }
- }
- }
-
- /// <summary>
/// Animates a property between keyframes.
/// </summary>
- /// <param name="target">The target object to animate.</param>
+ /// <param name="target">The target animatable object to animate.</param>
/// <param name="property">The target property to animate.</param>
/// <param name="keyFrames">The set of time or value pairs between which to animate.</param>
/// <param name="interpolation">The method used to interpolate between values.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
/// <exception cref="ArgumentNullException"> Thrown when target or property or keyFrames is null. </exception>
/// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given keyFrames has invalid value. </exception>
- /// <since_tizen> 3 </since_tizen>
- public void AnimateBetween(View target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void AnimateBetween(Animatable target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
{
if (target == null)
{
/// <summary>
/// Animates a property between keyframes.
/// </summary>
- /// <param name="target">The target object to animate</param>
+ /// <param name="target">The target animatable object to animate</param>
/// <param name="property">The target property to animate</param>
/// <param name="keyFrames">The set of time/value pairs between which to animate</param>
/// <param name="startTime">The start time of animation in milliseconds.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
/// <exception cref="ArgumentNullException"> Thrown when target or property or keyFrames is null. </exception>
/// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given keyFrames has invalid value. </exception>
- /// <since_tizen> 3 </since_tizen>
- public void AnimateBetween(View target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void AnimateBetween(Animatable target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
{
if (target == null)
{
}
/// <summary>
+ /// Animates a property between keyframes.
+ /// </summary>
+ /// <param name="target">The target object to animate.</param>
+ /// <param name="property">The target property to animate.</param>
+ /// <param name="keyFrames">The set of time or value pairs between which to animate.</param>
+ /// <param name="interpolation">The method used to interpolate between values.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or keyFrames is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given keyFrames has invalid value. </exception>
+ /// <since_tizen> 3 </since_tizen>
+ public void AnimateBetween(View target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+ {
+ AnimateBetween(target as Animatable, property, keyFrames, interpolation, alphaFunction);
+ }
+
+ /// <summary>
+ /// Animates a property between keyframes.
+ /// </summary>
+ /// <param name="target">The target object to animate</param>
+ /// <param name="property">The target property to animate</param>
+ /// <param name="keyFrames">The set of time/value pairs between which to animate</param>
+ /// <param name="startTime">The start time of animation in milliseconds.</param>
+ /// <param name="endTime">The end time of animation in milliseconds.</param>
+ /// <param name="interpolation">The method used to interpolate between values.</param>
+ /// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <exception cref="ArgumentNullException"> Thrown when target or property or keyFrames is null. </exception>
+ /// <exception cref="ArgumentException"> Thrown when it failed to find a property from given string or the given keyFrames has invalid value. </exception>
+ /// <since_tizen> 3 </since_tizen>
+ public void AnimateBetween(View target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+ {
+ AnimateBetween(target as Animatable, property, keyFrames, startTime, endTime, interpolation, alphaFunction);
+ }
+
+ /// <summary>
/// Animates the view's position and orientation through a predefined path.<br />
/// The view will rotate to orient the supplied forward vector with the path's tangent.<br />
/// If forward is the zero vector then no rotation will happen.<br />
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
internal void AnimateByIntPtr(Property target, global::System.IntPtr relativeValueIntPtr, AlphaFunction alpha)
{
if (alpha == null)
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-#endif
internal void AnimateBetween(Property target, KeyFrames keyFrames)
{
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
{
- if (swigCPtr.Handle == IntPtr.Zero || this.HasBody() == false)
+ if (swigCPtr.Handle == IntPtr.Zero || Disposed)
{
- Tizen.Log.Fatal("NUI", $"[ERROR] Animation ReleaseSwigCPtr()! IntPtr=0x{swigCPtr.Handle:X} HasBody={this.HasBody()}");
+ Tizen.Log.Fatal("NUI", $"[ERROR] Animation ReleaseSwigCPtr()! IntPtr=0x{swigCPtr.Handle:X} Disposed={Disposed}");
return;
}
Interop.Animation.DeleteAnimation(swigCPtr);