1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
20 // This file was automatically generated by SWIG (http://www.swig.org).
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
31 using System.Runtime.InteropServices;
33 public class Animation : BaseHandle
35 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
37 internal Animation(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Animation_SWIGUpcast(cPtr), cMemoryOwn)
39 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
42 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animation obj)
44 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
49 DisposeQueue.Instance.Add(this);
52 public override void Dispose()
54 if (!Window.IsInstalled())
56 DisposeQueue.Instance.Add(this);
62 if (swigCPtr.Handle != global::System.IntPtr.Zero)
67 NDalicPINVOKE.delete_Animation(swigCPtr);
69 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
71 global::System.GC.SuppressFinalize(this);
79 private EventCallbackDelegateType1<IntPtr> _animationFinishedEventCallbackDelegate;
81 private event EventHandler _animationFinishedEventHandler;
84 * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
85 * Finished signal is emitted when an Animation's animations have finished.
87 public event EventHandler Finished
93 _animationFinishedEventHandler += value;
94 _animationFinishedEventCallbackDelegate = OnFinished;
95 this.FinishedSignal().Connect(_animationFinishedEventCallbackDelegate);
102 if (_animationFinishedEventHandler != null)
104 this.FinishedSignal().Disconnect(_animationFinishedEventCallbackDelegate);
106 _animationFinishedEventHandler -= value;
111 // Callback for Animation FinishedSignal
112 private void OnFinished(IntPtr data)
114 if (_animationFinishedEventHandler != null)
116 //here we send all data to user event handlers
117 _animationFinishedEventHandler(this, null);
121 public static Animation GetAnimationFromPtr(global::System.IntPtr cPtr)
123 Animation ret = new Animation(cPtr, false);
124 if (NDalicPINVOKE.SWIGPendingException.Pending)
125 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
129 private float MilliSecondsToSeconds(int millisec)
131 return (float)millisec / 1000.0f;
134 private int SecondsToMilliSeconds(float sec)
136 return (int)(sec * 1000);
143 SetDuration(MilliSecondsToSeconds(value));
147 return SecondsToMilliSeconds(GetDuration());
151 public AlphaFunction DefaultAlphaFunction
155 SetDefaultAlphaFunction(value);
159 AlphaFunction ret = GetDefaultAlphaFunction();
164 public Animation.State Status
180 int ret = GetLoopCount();
193 bool ret = IsLooping();
198 public Animation.EndActions EndAction
206 return GetEndAction();
210 public void Stop(Animation.EndActions action)
212 SetEndAction(action);
213 NDalicPINVOKE.Animation_Stop(swigCPtr);
214 if (NDalicPINVOKE.SWIGPendingException.Pending)
215 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218 public int StartTime { set; get; }
220 public int EndTime { set; get; }
222 public string TargetProperty { set; get; }
224 public object Destination { set; get; }
226 public Dali.AlphaFunction AlphaFunction { set; get; }
229 public void AnimateBy(View target)
231 string _str1 = TargetProperty.Substring(0, 1);
232 string _str2 = TargetProperty.Substring(1);
233 string _str = _str1.ToLower() + _str2;
235 dynamic obj = (object)Destination;
237 if (this.AlphaFunction != null)
239 if (this.StartTime == 0 && this.EndTime == 0)
241 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
245 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
246 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
251 if (this.StartTime == 0 && this.EndTime == 0)
253 AnimateBy(new Property(target, _str), new Property.Value(obj));
257 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
258 AnimateBy(new Property(target, _str), new Property.Value(obj), time);
263 public void AnimateBy(View target, string propertyIndex)
265 string _str1 = propertyIndex.Substring(0, 1);
266 string _str2 = propertyIndex.Substring(1);
267 string _str = _str1.ToLower() + _str2;
269 dynamic obj = (object)Destination;
271 if (this.AlphaFunction != null)
273 if (this.StartTime == 0 && this.EndTime == 0)
275 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
279 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
280 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
285 if (this.StartTime == 0 && this.EndTime == 0)
287 AnimateBy(new Property(target, _str), new Property.Value(obj));
291 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
292 AnimateBy(new Property(target, _str), new Property.Value(obj), time);
297 public void AnimateBy(View target, string propertyIndex, object relativeValue)
299 string _str1 = propertyIndex.Substring(0, 1);
300 string _str2 = propertyIndex.Substring(1);
301 string _str = _str1.ToLower() + _str2;
303 dynamic obj = (object)relativeValue;
305 if (this.AlphaFunction != null)
307 if (this.StartTime == 0 && this.EndTime == 0)
309 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
313 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
314 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
319 if (this.StartTime == 0 && this.EndTime == 0)
321 AnimateBy(new Property(target, _str), new Property.Value(obj));
325 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
326 AnimateBy(new Property(target, _str), new Property.Value(obj), time);
331 public void AnimateTo(View target)
333 string _str1 = TargetProperty.Substring(0, 1);
334 string _str2 = TargetProperty.Substring(1);
335 string _str = _str1.ToLower() + _str2;
337 dynamic obj = (object)Destination;
339 if (this.AlphaFunction != null)
341 if (this.StartTime == 0 && this.EndTime == 0)
343 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
347 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
348 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
353 if (this.StartTime == 0 && this.EndTime == 0)
355 AnimateTo(new Property(target, _str), new Property.Value(obj));
359 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
360 AnimateTo(new Property(target, _str), new Property.Value(obj), time);
365 public void AnimateTo(View target, string propertyIndex)
367 string _str1 = propertyIndex.Substring(0, 1);
368 string _str2 = propertyIndex.Substring(1);
369 string _str = _str1.ToLower() + _str2;
371 dynamic obj = (object)Destination;
373 if (this.AlphaFunction != null)
375 if (this.StartTime == 0 && this.EndTime == 0)
377 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
381 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
382 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
387 if (this.StartTime == 0 && this.EndTime == 0)
389 AnimateTo(new Property(target, _str), new Property.Value(obj));
393 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
394 AnimateTo(new Property(target, _str), new Property.Value(obj), time);
399 public void AnimateTo(View target, string propertyIndex, object destinationValue)
401 string _str1 = propertyIndex.Substring(0, 1);
402 string _str2 = propertyIndex.Substring(1);
403 string _str = _str1.ToLower() + _str2;
405 dynamic obj = (object)destinationValue;
407 if (this.AlphaFunction != null)
409 if (this.StartTime == 0 && this.EndTime == 0)
411 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
415 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
416 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
421 if (this.StartTime == 0 && this.EndTime == 0)
423 AnimateTo(new Property(target, _str), new Property.Value(obj));
427 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
428 AnimateTo(new Property(target, _str), new Property.Value(obj), time);
433 public void AnimateBetween(View target, KeyFrames keyFrames)
435 string _str1 = TargetProperty.Substring(0, 1);
436 string _str2 = TargetProperty.Substring(1);
437 string _str = _str1.ToLower() + _str2;
440 if (this.AlphaFunction != null)
442 if (this.StartTime == 0 && this.EndTime == 0)
444 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction);
448 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
449 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, time);
454 if (this.StartTime == 0 && this.EndTime == 0)
456 AnimateBetween(new Property(target, _str), keyFrames);
460 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
461 AnimateBetween(new Property(target, _str), keyFrames, time);
466 public void AnimateBetween(View target, KeyFrames keyFrames, Animation.Interpolation interpolation)
468 string _str1 = TargetProperty.Substring(0, 1);
469 string _str2 = TargetProperty.Substring(1);
470 string _str = _str1.ToLower() + _str2;
473 if (this.AlphaFunction != null)
475 if (this.StartTime == 0 && this.EndTime == 0)
477 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, interpolation);
481 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
482 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, time, interpolation);
487 if (this.StartTime == 0 && this.EndTime == 0)
489 AnimateBetween(new Property(target, _str), keyFrames, interpolation);
493 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
494 AnimateBetween(new Property(target, _str), keyFrames, time, interpolation);
501 * @brief Create an initialized Animation.
503 * The animation will not loop.
504 * The default end action is "Bake".
505 * The default Alpha function is linear.
507 * @param [in] durationmSeconds The duration in milli seconds (int).
508 * @return A handle to a newly allocated Dali resource.
509 * @pre DurationmSeconds must be greater than zero.
511 public Animation(int durationmSeconds) : this(NDalicPINVOKE.Animation_New((float)durationmSeconds / 1000.0f), true)
513 if (NDalicPINVOKE.SWIGPendingException.Pending)
514 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
517 public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true)
519 if (NDalicPINVOKE.SWIGPendingException.Pending)
520 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
524 public Animation(float durationSeconds) : this(NDalicPINVOKE.Animation_New(durationSeconds), true)
526 if (NDalicPINVOKE.SWIGPendingException.Pending)
527 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
531 public static Animation DownCast(BaseHandle handle)
533 Animation ret = new Animation(NDalicPINVOKE.Animation_DownCast(BaseHandle.getCPtr(handle)), true);
534 if (NDalicPINVOKE.SWIGPendingException.Pending)
535 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
539 public Animation(Animation handle) : this(NDalicPINVOKE.new_Animation__SWIG_1(Animation.getCPtr(handle)), true)
541 if (NDalicPINVOKE.SWIGPendingException.Pending)
542 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
545 public Animation Assign(Animation rhs)
547 Animation ret = new Animation(NDalicPINVOKE.Animation_Assign(swigCPtr, Animation.getCPtr(rhs)), false);
548 if (NDalicPINVOKE.SWIGPendingException.Pending)
549 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
553 public void SetDuration(float seconds)
555 NDalicPINVOKE.Animation_SetDuration(swigCPtr, seconds);
556 if (NDalicPINVOKE.SWIGPendingException.Pending)
557 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
560 public float GetDuration()
562 float ret = NDalicPINVOKE.Animation_GetDuration(swigCPtr);
563 if (NDalicPINVOKE.SWIGPendingException.Pending)
564 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
568 public void SetLooping(bool looping)
570 NDalicPINVOKE.Animation_SetLooping(swigCPtr, looping);
571 if (NDalicPINVOKE.SWIGPendingException.Pending)
572 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
575 public void SetLoopCount(int count)
577 NDalicPINVOKE.Animation_SetLoopCount(swigCPtr, count);
578 if (NDalicPINVOKE.SWIGPendingException.Pending)
579 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
582 public int GetLoopCount()
584 int ret = NDalicPINVOKE.Animation_GetLoopCount(swigCPtr);
585 if (NDalicPINVOKE.SWIGPendingException.Pending)
586 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
590 public int GetCurrentLoop()
592 int ret = NDalicPINVOKE.Animation_GetCurrentLoop(swigCPtr);
593 if (NDalicPINVOKE.SWIGPendingException.Pending)
594 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
598 public bool IsLooping()
600 bool ret = NDalicPINVOKE.Animation_IsLooping(swigCPtr);
601 if (NDalicPINVOKE.SWIGPendingException.Pending)
602 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
606 public void SetEndAction(Animation.EndActions action)
608 NDalicPINVOKE.Animation_SetEndAction(swigCPtr, (int)action);
609 if (NDalicPINVOKE.SWIGPendingException.Pending)
610 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
613 public Animation.EndActions GetEndAction()
615 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetEndAction(swigCPtr);
616 if (NDalicPINVOKE.SWIGPendingException.Pending)
617 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
621 public void SetDisconnectAction(Animation.EndActions disconnectAction)
623 NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)disconnectAction);
624 if (NDalicPINVOKE.SWIGPendingException.Pending)
625 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
628 public Animation.EndActions GetDisconnectAction()
630 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
631 if (NDalicPINVOKE.SWIGPendingException.Pending)
632 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
636 public void SetDefaultAlphaFunction(AlphaFunction alpha)
638 NDalicPINVOKE.Animation_SetDefaultAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
639 if (NDalicPINVOKE.SWIGPendingException.Pending)
640 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
643 public AlphaFunction GetDefaultAlphaFunction()
645 AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.Animation_GetDefaultAlphaFunction(swigCPtr), true);
646 if (NDalicPINVOKE.SWIGPendingException.Pending)
647 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
651 public void SetCurrentProgress(float progress)
653 NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, progress);
654 if (NDalicPINVOKE.SWIGPendingException.Pending)
655 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
658 public float GetCurrentProgress()
660 float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
661 if (NDalicPINVOKE.SWIGPendingException.Pending)
662 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
666 public void SetSpeedFactor(float factor)
668 NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, factor);
669 if (NDalicPINVOKE.SWIGPendingException.Pending)
670 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
673 public float GetSpeedFactor()
675 float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
676 if (NDalicPINVOKE.SWIGPendingException.Pending)
677 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
681 public void SetPlayRange(Vector2 range)
683 NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(range));
684 if (NDalicPINVOKE.SWIGPendingException.Pending)
685 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
688 public Vector2 GetPlayRange()
690 Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
691 if (NDalicPINVOKE.SWIGPendingException.Pending)
692 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
698 NDalicPINVOKE.Animation_Play(swigCPtr);
699 if (NDalicPINVOKE.SWIGPendingException.Pending)
700 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
703 public void PlayFrom(float progress)
705 NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);
706 if (NDalicPINVOKE.SWIGPendingException.Pending)
707 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
712 NDalicPINVOKE.Animation_Pause(swigCPtr);
713 if (NDalicPINVOKE.SWIGPendingException.Pending)
714 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
717 public Animation.State GetState()
719 Animation.State ret = (Animation.State)NDalicPINVOKE.Animation_GetState(swigCPtr);
720 if (NDalicPINVOKE.SWIGPendingException.Pending)
721 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
727 NDalicPINVOKE.Animation_Stop(swigCPtr);
728 if (NDalicPINVOKE.SWIGPendingException.Pending)
729 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
734 NDalicPINVOKE.Animation_Clear(swigCPtr);
735 if (NDalicPINVOKE.SWIGPendingException.Pending)
736 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
739 public AnimationSignal FinishedSignal()
741 AnimationSignal ret = new AnimationSignal(NDalicPINVOKE.Animation_FinishedSignal(swigCPtr), false);
742 if (NDalicPINVOKE.SWIGPendingException.Pending)
743 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
747 public void AnimateBy(Property target, Property.Value relativeValue)
749 NDalicPINVOKE.Animation_AnimateBy__SWIG_0(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue));
750 if (NDalicPINVOKE.SWIGPendingException.Pending)
751 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
754 public void AnimateBy(Property target, Property.Value relativeValue, AlphaFunction alpha)
756 NDalicPINVOKE.Animation_AnimateBy__SWIG_1(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha));
757 if (NDalicPINVOKE.SWIGPendingException.Pending)
758 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
761 public void AnimateBy(Property target, Property.Value relativeValue, TimePeriod period)
763 NDalicPINVOKE.Animation_AnimateBy__SWIG_2(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), TimePeriod.getCPtr(period));
764 if (NDalicPINVOKE.SWIGPendingException.Pending)
765 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
768 public void AnimateBy(Property target, Property.Value relativeValue, AlphaFunction alpha, TimePeriod period)
770 NDalicPINVOKE.Animation_AnimateBy__SWIG_3(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
771 if (NDalicPINVOKE.SWIGPendingException.Pending)
772 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
775 public void AnimateTo(Property target, Property.Value destinationValue)
777 NDalicPINVOKE.Animation_AnimateTo__SWIG_0(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue));
778 if (NDalicPINVOKE.SWIGPendingException.Pending)
779 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
782 public void AnimateTo(Property target, Property.Value destinationValue, AlphaFunction alpha)
784 NDalicPINVOKE.Animation_AnimateTo__SWIG_1(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha));
785 if (NDalicPINVOKE.SWIGPendingException.Pending)
786 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
789 public void AnimateTo(Property target, Property.Value destinationValue, TimePeriod period)
791 NDalicPINVOKE.Animation_AnimateTo__SWIG_2(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), TimePeriod.getCPtr(period));
792 if (NDalicPINVOKE.SWIGPendingException.Pending)
793 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
796 public void AnimateTo(Property target, Property.Value destinationValue, AlphaFunction alpha, TimePeriod period)
798 NDalicPINVOKE.Animation_AnimateTo__SWIG_3(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
799 if (NDalicPINVOKE.SWIGPendingException.Pending)
800 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
803 public void AnimateBetween(Property target, KeyFrames keyFrames)
805 NDalicPINVOKE.Animation_AnimateBetween__SWIG_0(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames));
806 if (NDalicPINVOKE.SWIGPendingException.Pending)
807 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
810 public void AnimateBetween(Property target, KeyFrames keyFrames, Animation.Interpolation interpolation)
812 NDalicPINVOKE.Animation_AnimateBetween__SWIG_1(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), (int)interpolation);
813 if (NDalicPINVOKE.SWIGPendingException.Pending)
814 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
817 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha)
819 NDalicPINVOKE.Animation_AnimateBetween__SWIG_2(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha));
820 if (NDalicPINVOKE.SWIGPendingException.Pending)
821 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
824 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Animation.Interpolation interpolation)
826 NDalicPINVOKE.Animation_AnimateBetween__SWIG_3(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), (int)interpolation);
827 if (NDalicPINVOKE.SWIGPendingException.Pending)
828 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
831 public void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period)
833 NDalicPINVOKE.Animation_AnimateBetween__SWIG_4(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period));
834 if (NDalicPINVOKE.SWIGPendingException.Pending)
835 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
838 public void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Animation.Interpolation interpolation)
840 NDalicPINVOKE.Animation_AnimateBetween__SWIG_5(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period), (int)interpolation);
841 if (NDalicPINVOKE.SWIGPendingException.Pending)
842 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
845 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period)
847 NDalicPINVOKE.Animation_AnimateBetween__SWIG_6(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
848 if (NDalicPINVOKE.SWIGPendingException.Pending)
849 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
852 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Animation.Interpolation interpolation)
854 NDalicPINVOKE.Animation_AnimateBetween__SWIG_7(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period), (int)interpolation);
855 if (NDalicPINVOKE.SWIGPendingException.Pending)
856 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
859 public void Animate(View view, Path path, Vector3 forward)
861 NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward));
862 if (NDalicPINVOKE.SWIGPendingException.Pending)
863 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
866 public void Animate(View view, Path path, Vector3 forward, AlphaFunction alpha)
868 NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));
869 if (NDalicPINVOKE.SWIGPendingException.Pending)
870 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
873 public void Animate(View view, Path path, Vector3 forward, TimePeriod period)
875 NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));
876 if (NDalicPINVOKE.SWIGPendingException.Pending)
877 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
880 public void Animate(View view, Path path, Vector3 forward, AlphaFunction alpha, TimePeriod period)
882 NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
883 if (NDalicPINVOKE.SWIGPendingException.Pending)
884 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
887 public void Show(View view, float delaySeconds)
889 NDalicPINVOKE.Animation_Show(swigCPtr, View.getCPtr(view), delaySeconds);
890 if (NDalicPINVOKE.SWIGPendingException.Pending)
891 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
894 public void Hide(View view, float delaySeconds)
896 NDalicPINVOKE.Animation_Hide(swigCPtr, View.getCPtr(view), delaySeconds);
897 if (NDalicPINVOKE.SWIGPendingException.Pending)
898 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
901 public enum EndActions
908 public enum Interpolation