语言

PatternPathMotion 构造函数

定义

重载

名称 说明
PatternPathMotion()

使用直线模式构造 PatternPathMotion。

PatternPathMotion(Path)

使用 Path 创建 PatternPathMotion,该路径定义两个坐标之间的运动模式。

PatternPathMotion(Context, IAttributeSet)

从 XML 属性构造 PatternPathMotion。

PatternPathMotion(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

PatternPathMotion()

使用直线模式构造 PatternPathMotion。

[Android.Runtime.Register(".ctor", "()V", "")]
public PatternPathMotion();
特性

注解

使用直线模式构造 PatternPathMotion。

Java文档android.transition.PatternPathMotion.PatternPathMotion()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

PatternPathMotion(Path)

使用 Path 创建 PatternPathMotion,该路径定义两个坐标之间的运动模式。

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")]
public PatternPathMotion(Android.Graphics.Path? patternPath);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")>]
new Android.Transitions.PatternPathMotion : Android.Graphics.Path -> Android.Transitions.PatternPathMotion

参数

patternPath
Path

要用作二维运动模式的路径。

特性

注解

使用 Path 创建 PatternPathMotion,该路径定义两个坐标之间的运动模式。 将转换、旋转和缩放模式,以适应起点和终点。 该模式不得为空,并且终结点必须与起点不同。

Java文档android.transition.PatternPathMotion.PatternPathMotion(android.graphics.Path)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

PatternPathMotion(Context, IAttributeSet)

从 XML 属性构造 PatternPathMotion。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public PatternPathMotion(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Transitions.PatternPathMotion : Android.Content.Context * Android.Util.IAttributeSet -> Android.Transitions.PatternPathMotion

参数

context
Context

用于获取 PatternPathMotion 样式属性的上下文。

attrs
IAttributeSet

XML 属性。 需要 android:patternPathData 属性。

特性

注解

该 android:patternPathData 属性提供模式路径。

Java文档android.transition.PatternPathMotion。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

PatternPathMotion(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected PatternPathMotion(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Transitions.PatternPathMotion : nativeint * Android.Runtime.JniHandleOwnership -> Android.Transitions.PatternPathMotion

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于