Enum TweenMode

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

Enumration for the type of acceleration used in transition.

C#
Copy
public enum TweenMode
Name Description
Accelerate

Starts slow and increases speed over time, v1 being a power factor.

BezierCurve

Follows the cubic-bezier curve calculated with the control points (x1, y1), (x2, y2).

Bounce

Starts at 0.0 then "drop" like a ball bouncing to the ground at 1.0, and bounce v2 times, with decay factor of v1.

Decelerate

Starts fast and decreases speed over time, v1 being a power factor.

DivisorInterpolate

Starts at gradient v1, interpolated via power of v2 curve.

Linear

Constant speed.

Sinusoidal

Starts slow, increases speed over time, then decrease again and stop slowly, v1 being a power factor.

Spring

Starts at 0.0 then "wobble" like a spring rest position 1.0, and wobble v2 times, with decay factor of v1.