ViewPropertyAnimator.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.
Sets the interpolator for the underlying animator that animates the requested properties.
[Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator;", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")]
public virtual Android.Views.ViewPropertyAnimator SetInterpolator (Android.Animation.ITimeInterpolator? interpolator);
[<Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator;", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")>]
abstract member SetInterpolator : Android.Animation.ITimeInterpolator -> Android.Views.ViewPropertyAnimator
override this.SetInterpolator : Android.Animation.ITimeInterpolator -> Android.Views.ViewPropertyAnimator
Parameters
- interpolator
- ITimeInterpolator
The TimeInterpolator to be used for ensuing property animations. A value
of null
will result in linear interpolation.
Returns
This object, allowing calls to methods in this class to be chained.
- Attributes
Remarks
Sets the interpolator for the underlying animator that animates the requested properties. By default, the animator uses the default interpolator for ValueAnimator. Calling this method will cause the declared object to be used instead.
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.