Animation.SetInterpolator(Context, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置此动画的加速曲线。
[Android.Runtime.Register("setInterpolator", "(Landroid/content/Context;I)V", "GetSetInterpolator_Landroid_content_Context_IHandler")]
public virtual void SetInterpolator(Android.Content.Context? context, int resID);
[<Android.Runtime.Register("setInterpolator", "(Landroid/content/Context;I)V", "GetSetInterpolator_Landroid_content_Context_IHandler")>]
abstract member SetInterpolator : Android.Content.Context * int -> unit
override this.SetInterpolator : Android.Content.Context * int -> unit
参数
- context
- Context
应用程序环境
- resID
- Int32
要加载的内插器的资源标识符
- 特性
注解
设置此动画的加速曲线。 内插器作为资源从指定的上下文加载。
Java文档android.view.animation.Animation.setInterpolator(android.content.Context, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。