Animator.SetInterpolator(ITimeInterpolator) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于计算动画已用分数的时间内插器。
[Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)V", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")]
public abstract void SetInterpolator(Android.Animation.ITimeInterpolator? value);
[<Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)V", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")>]
abstract member SetInterpolator : Android.Animation.ITimeInterpolator -> unit
参数
- value
- ITimeInterpolator
此动画要使用的内插器
- 特性
注解
用于计算动画已用分数的时间内插器。 内插器确定动画是使用线性运动还是非线性运动(如加速和减速)运行。 默认值为 android.view.animation.AccelerateDecelerateInterpolator。
Java文档android.animation.Animator.setInterpolator(android.animation.TimeInterpolator)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。