/// For using these effects, create an Transit and add the desired transition effects.
/// </summary>
/// <remarks>Transit is not reusable. If the effect ends, the transit is destroyed automatically.</remarks>
+ /// <since_tizen> preview </since_tizen>
public class Transit : IDisposable
{
IntPtr _handle = IntPtr.Zero;
/// <summary>
/// A callback called when the transit is deleted.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public event EventHandler Deleted;
/// <summary>
/// Creates and initializes a new instance of Transit class.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public Transit()
{
_handle = Interop.Elementary.elm_transit_add();
/// <summary>
/// Gets or sets the transit animation time
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double Duration
{
get
/// Gets or sets a value whether the objects states will be keep or not.
/// If it is not kept, the objects states will be reset when transition ends.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public bool ObjectStateKeep
{
get
/// <summary>
/// Gets or sets the transit animation acceleration type.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public TweenMode TweenMode
{
get
/// Gets or sets the transit repeat count.
/// If the repeat is a negative number, it will repeat infinite times.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public int Repeat
{
get
/// <summary>
/// Gets or sets if the auto reverse is on.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public bool AutoReverse
{
get
/// <summary>
/// Gets or sets the event enabled when transit is operating.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public bool EventEnabled
{
get
/// Gets or sets the smooth scaling for transit map rendering
/// This gets smooth scaling for transit map rendering.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public bool Smooth
{
get
/// The value returned is a fraction(current time / total time).
/// It represents the progression position relative to the total.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double Progress
{
get
/// Gets or sets the transit animation tween mode acceleration factor.
/// </summary>
/// <returns>A factor value from 0.0 to 1.0.</returns>
+ /// <since_tizen> preview </since_tizen>
public double BeginAccelerationFactor
{
get
/// Gets or sets the transit animation tween mode acceleration factor.
/// </summary>
/// <returns>A factor value from 0.0 to 1.0.</returns>
+ /// <since_tizen> preview </since_tizen>
public double EndAccelerationFactor
{
get
/// Once this API is called, the transit begins to measure the time.
/// </summary>
/// <param name="interval">The interval value in seconds</param>
+ /// <since_tizen> preview </since_tizen>
public void Go(double interval = 0)
{
Interop.Elementary.elm_transit_go_in(_handle, interval);
/// <summary>
/// Pause the transition.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public void Pause()
{
if (Interop.Elementary.elm_transit_paused_get(_handle) == false)
/// <summary>
/// Resume the transition.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public void Resume()
{
if (Interop.Elementary.elm_transit_paused_get(_handle) == true)
/// Get the current chained transit list.
/// </summary>
/// <remarks>Cannot add the duplicate transit.</remarks>
+ /// <since_tizen> preview </since_tizen>
public IList<Transit> Chains
{
get { return _chains; }
/// Get the objects list of the transit.
/// </summary>
/// <remarks>Cannot add the duplicate object.</remarks>
+ /// <since_tizen> preview </since_tizen>
public IList<EvasObject> Objects
{
get { return _objects; }
/// Add the effect.
/// </summary>
/// <param name="effect">EffectBase object.</param>
+ /// <since_tizen> preview </since_tizen>
public void AddEffect(EffectBase effect)
{
IntPtr _effect = effect.CreateEffect(_handle);
/// <summary>
/// Destroy current object
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public void Dispose()
{
Dispose(true);
/// true if managed resources should be disposed
/// otherwise, false.
/// </param>
+ /// <since_tizen> preview </since_tizen>
protected virtual void Dispose(bool disposing)
{
if (_isDisposed)