PathInterpolator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| PathInterpolator(Path) |
为任意 |
| PathInterpolator(Context, IAttributeSet) |
为二次贝塞尔曲线创建内插器。 |
| PathInterpolator(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
| PathInterpolator(Single, Single) |
为二次贝塞尔曲线创建内插器。 |
| PathInterpolator(Single, Single, Single, Single) |
为立方贝塞尔曲线创建内插器。 |
PathInterpolator(Path)
为任意 Path值创建内插器。
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")]
public PathInterpolator(Android.Graphics.Path path);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")>]
new Android.Views.Animations.PathInterpolator : Android.Graphics.Path -> Android.Views.Animations.PathInterpolator
参数
- path
- Path
Path用于使表示内插器的行。
- 属性
注解
为任意 Path值创建内插器。
Path必须从 .(0, 0)(1, 1).
Java文档android.view.animation.PathInterpolator.PathInterpolator(android.graphics.Path)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PathInterpolator(Context, IAttributeSet)
为二次贝塞尔曲线创建内插器。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public PathInterpolator(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.PathInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.PathInterpolator
参数
- context
- Context
提供用于读取属性的资源和主题的上下文。
- attrs
- IAttributeSet
指定路径数据或 Bezier 控制点的 XML 属性。
- 属性
注解
Java文档android.view.animation.PathInterpolator.PathInterpolator(float, float)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PathInterpolator(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected PathInterpolator(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.PathInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.PathInterpolator
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PathInterpolator(Single, Single)
为二次贝塞尔曲线创建内插器。
[Android.Runtime.Register(".ctor", "(FF)V", "")]
public PathInterpolator(float controlX, float controlY);
[<Android.Runtime.Register(".ctor", "(FF)V", "")>]
new Android.Views.Animations.PathInterpolator : single * single -> Android.Views.Animations.PathInterpolator
参数
- controlX
- Single
二次贝塞尔控制点的 x 坐标。
- controlY
- Single
二次贝塞尔控制点的 y 坐标。
- 属性
注解
为二次贝塞尔曲线创建内插器。 终点 (0, 0) 并 (1, 1) 假定。
Java文档android.view.animation.PathInterpolator.PathInterpolator(float, float)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PathInterpolator(Single, Single, Single, Single)
为立方贝塞尔曲线创建内插器。
[Android.Runtime.Register(".ctor", "(FFFF)V", "")]
public PathInterpolator(float controlX1, float controlY1, float controlX2, float controlY2);
[<Android.Runtime.Register(".ctor", "(FFFF)V", "")>]
new Android.Views.Animations.PathInterpolator : single * single * single * single -> Android.Views.Animations.PathInterpolator
参数
- controlX1
- Single
立方贝塞尔的第一个控制点的 x 坐标。
- controlY1
- Single
立方贝塞尔第一个控制点的 y 坐标。
- controlX2
- Single
立方贝塞尔的第二个控制点的 x 坐标。
- controlY2
- Single
立方贝塞尔第二个控制点的 y 坐标。
- 属性
注解
为立方贝塞尔曲线创建内插器。 终点 (0, 0) 并 (1, 1) 假定。
Java文档android.view.animation.PathInterpolator.PathInterpolator(float, float, float, float)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。