Share via


Transition.SetInterpolator(ITimeInterpolator) Method

Definition

Sets the interpolator of this transition.

[Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)Landroid/transition/Transition;", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")]
public virtual Android.Transitions.Transition? SetInterpolator (Android.Animation.ITimeInterpolator? interpolator);
[<Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)Landroid/transition/Transition;", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")>]
abstract member SetInterpolator : Android.Animation.ITimeInterpolator -> Android.Transitions.Transition
override this.SetInterpolator : Android.Animation.ITimeInterpolator -> Android.Transitions.Transition

Parameters

interpolator
ITimeInterpolator

The time interpolator used by the transition

Returns

This transition object.

Attributes

Remarks

Sets the interpolator of this transition. By default, the interpolator is null, which means that the Animator created by the transition will have its own specified interpolator. If the interpolator of a Transition is set, that interpolator will override the Animator interpolator.

Java documentation for android.transition.Transition.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