ValueAnimator.SetInterpolator(ITimeInterpolator) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算此動畫經過比例時所用的時間插值器。
[Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)V", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")]
public override void SetInterpolator(Android.Animation.ITimeInterpolator? value);
[<Android.Runtime.Register("setInterpolator", "(Landroid/animation/TimeInterpolator;)V", "GetSetInterpolator_Landroid_animation_TimeInterpolator_Handler")>]
override this.SetInterpolator : Android.Animation.ITimeInterpolator -> unit
參數
- value
- ITimeInterpolator
這個動畫將使用的插值器。 值 將 null 導致線性插值。
- 屬性
備註
計算此動畫經過比例時所用的時間插值器。 插值器會判斷動畫是線性還是非線性運動,例如加速和減速。 預設值是 android.view.animation.AccelerateDecelerateInterpolator
Java 文件 android.animation.ValueAnimator.setInterpolator(android.animation.TimeInterpolator)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。