ViewPropertyAnimator.SetInterpolator(ITimeInterpolator) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置对所请求属性进行动画处理的基础动画器的内插器。
[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
参数
- interpolator
- ITimeInterpolator
要用于随后的属性动画的 TimeInterpolator。 值 null
将导致线性内插。
返回
此对象允许链接对此类中方法的调用。
- 属性
注解
设置对所请求属性进行动画处理的基础动画器的内插器。 默认情况下,动画器使用 ValueAnimator 的默认内插器。 调用此方法将导致改用声明的对象。
适用于 . 的 android.view.ViewPropertyAnimator.setInterpolator(android.animation.TimeInterpolator)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。