LinearInterpolator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| LinearInterpolator() |
创建一个内插器,该内插器返回未更改的输入动画分数。 |
| LinearInterpolator(Context, IAttributeSet) |
在不读取提供的上下文或 XML 属性的情况下创建线性内插器。 |
| LinearInterpolator(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
LinearInterpolator(Context, IAttributeSet)
在不读取提供的上下文或 XML 属性的情况下创建线性内插器。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LinearInterpolator(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.LinearInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.LinearInterpolator
参数
- context
- Context
为 XML 通货膨胀提供的上下文。 此构造函数不使用此参数。
- attrs
- IAttributeSet
为此内插器提供的 XML 属性。 此构造函数不使用此参数。
- 特性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
LinearInterpolator(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected LinearInterpolator(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.LinearInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.LinearInterpolator
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。