语言

AnimatorSet.SetInterpolator(ITimeInterpolator) 方法

定义

设置此 AnimatorSet 的所有当前 #getChildAnimations() child animations 版本的 TimeInterpolator。

[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

参数

interpolator
ITimeInterpolator

此 AnimatorSet 的每个子动画要使用的内插器

特性

注解

设置此 AnimatorSet 的所有当前 #getChildAnimations() child animations 版本的 TimeInterpolator。 默认值为 null,这意味着此 AnimatorSet 上未设置内插器。 将内插器设置为任何非 null 值将导致在启动集时在子动画上设置内插器。

Java文档android.animation.AnimatorSet.setInterpolator(android.animation.TimeInterpolator)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于