Search Results for

    Show / Hide Table of Contents

    Class Transit

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    Transit is designed to apply various animated transition effects, such as translation, rotation, etc. For using these effects, create a transit and add the desired transition effects.

    [Obsolete("This has been deprecated in API12")]
    public class Transit : IDisposable
    Inheritance
    object
    Transit
    Implements
    IDisposable
    Remarks

    Transit is not reusable. If the effect ends, the transit is destroyed automatically.

    Constructors

    View Source

    Transit()

    Creates and initializes a new instance of the Transit class.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public Transit()

    Properties

    View Source

    AutoReverse

    Gets or sets if auto reverse is on.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public bool AutoReverse { get; set; }
    Property Value
    Type Description
    bool
    View Source

    BeginAccelerationFactor

    Gets or sets the transit animation tween mode acceleration factor.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BeginAccelerationFactor { get; set; }
    Property Value
    Type Description
    double

    A factor value from 0.0 to 1.0.

    View Source

    Chains

    Gets the current chained transit list.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public IList<Transit> Chains { get; }
    Property Value
    Type Description
    IList<Transit>
    Remarks

    Cannot add the duplicate transit.

    View Source

    Duration

    Gets or sets the transit animation time.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double Duration { get; set; }
    Property Value
    Type Description
    double
    View Source

    EndAccelerationFactor

    Gets or sets the transit animation tween mode acceleration factor.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double EndAccelerationFactor { get; set; }
    Property Value
    Type Description
    double

    A factor value from 0.0 to 1.0.

    View Source

    EventEnabled

    Gets or sets the event enabled when transit is operating.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public bool EventEnabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    ObjectStateKeep

    Gets or sets a value whether the objects states will be kept or not. If it is not kept, the objects states will be reset when the transition ends.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public bool ObjectStateKeep { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Objects

    Gets the objects list of the transit.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public IList<EvasObject> Objects { get; }
    Property Value
    Type Description
    IList<EvasObject>
    Remarks

    Cannot add the duplicate object.

    View Source

    Progress

    Gets the time progression of the animation (a double value between 0.0 and 1.0). The value returned is a fraction (current time/total time). It represents the progression position relative to the total.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double Progress { get; }
    Property Value
    Type Description
    double
    View Source

    Repeat

    Gets or sets the transit repeat count. If the repeat is a negative number, it will repeat infinite times.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public int Repeat { get; set; }
    Property Value
    Type Description
    int
    View Source

    Smooth

    Gets or sets the smooth scaling for transit map rendering. This gets the smooth scaling for transit map rendering.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public bool Smooth { get; set; }
    Property Value
    Type Description
    bool
    View Source

    TweenMode

    Gets or sets the transit animation acceleration type.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public TweenMode TweenMode { get; set; }
    Property Value
    Type Description
    TweenMode

    Methods

    View Source

    AddEffect(EffectBase)

    Adds the effect.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void AddEffect(EffectBase effect)
    Parameters
    Type Name Description
    EffectBase effect

    EffectBase object.

    View Source

    Dispose()

    Destroys the current object.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void Dispose()
    View Source

    Dispose(bool)

    Releases all the resources currently used by this instance.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true if the managed resources should be disposed, otherwise false.

    View Source

    ~Transit()

    Destroys the transit object.

    Declaration
    protected ~Transit()
    View Source

    Go(double)

    Starts the transition in given seconds. Once this API is called, the transit begins to measure the time.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void Go(double interval = 0)
    Parameters
    Type Name Description
    double interval

    The interval value in seconds.

    View Source

    Pause()

    Pauses the transition.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void Pause()
    View Source

    Resume()

    Resumes the transition.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void Resume()

    Events

    View Source

    Deleted

    A callback is called when the transit is deleted.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public event EventHandler Deleted
    Event Type
    Type Description
    EventHandler

    Implements

    IDisposable
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX