ValueAnimator.SetInterpolator(ITimeInterpolator) Method

Definition

The time interpolator used in calculating the elapsed fraction of this animation.

[Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)V", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")]
public override void SetInterpolator (Android.Animation.ITimeInterpolator? value);
[<Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)V", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")>]
override this.SetInterpolator : Android.Animation.ITimeInterpolator -> unit

Parameters

value
ITimeInterpolator

the interpolator to be used by this animation. A value of null will result in linear interpolation.

Attributes

Remarks

The time interpolator used in calculating the elapsed fraction of this animation. The interpolator determines whether the animation runs with linear or non-linear motion, such as acceleration and deceleration. The default value is android.view.animation.AccelerateDecelerateInterpolator

Java documentation for android.animation.ValueAnimator.setInterpolator(android.animation.TimeInterpolator).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to