語言

Animator.SetInterpolator(ITimeInterpolator) 方法

定義

計算動畫經過比例時所用的時間插值器。

[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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於