CycleInterpolator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CycleInterpolator(Single) |
创建具有指定周期数的基于正弦的内插器。 |
| CycleInterpolator(Context, IAttributeSet) |
使用从提供的 XML 属性读取的周期计数创建基于正弦的内插器。 |
| CycleInterpolator(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
CycleInterpolator(Single)
创建具有指定周期数的基于正弦的内插器。
[Android.Runtime.Register(".ctor", "(F)V", "")]
public CycleInterpolator(float cycles);
[<Android.Runtime.Register(".ctor", "(F)V", "")>]
new Android.Views.Animations.CycleInterpolator : single -> Android.Views.Animations.CycleInterpolator
参数
- cycles
- Single
介于 0 到 1 的输入间隔的正弦波周期数。
- 特性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
CycleInterpolator(Context, IAttributeSet)
使用从提供的 XML 属性读取的周期计数创建基于正弦的内插器。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public CycleInterpolator(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.CycleInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.CycleInterpolator
参数
- context
- Context
提供用于读取属性的资源和主题的上下文。
- attrs
- IAttributeSet
指定周期数的 XML 属性。
- 特性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
CycleInterpolator(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected CycleInterpolator(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.CycleInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.CycleInterpolator
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。