共用方式為


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

android.animation.Animator.setInterpolator(android.animation.TimeInterpolator)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於