Bagikan melalui


AnimatorSet.SetInterpolator(ITimeInterpolator) Method

Definition

Sets the TimeInterpolator for all current #getChildAnimations() child animations of this AnimatorSet.

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

Parameters

interpolator
ITimeInterpolator

the interpolator to be used by each child animation of this AnimatorSet

Attributes

Remarks

Sets the TimeInterpolator for all current #getChildAnimations() child animations of this AnimatorSet. The default value is null, which means that no interpolator is set on this AnimatorSet. Setting the interpolator to any non-null value will cause that interpolator to be set on the child animations when the set is started.

Java documentation for android.animation.AnimatorSet.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