ValueAnimator.SetInterpolator(ITimeInterpolator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.