語言

PatternPathMotion 建構函式

定義

多載

名稱 Description
PatternPathMotion()

構建一個帶有直線圖案的 PatternPathMotion。

PatternPathMotion(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()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

PatternPathMotion(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

一條作為二維運動模式的路徑。

屬性

備註

建立一個 PatternPathMotion,該路徑定義兩個座標間的運動模式。 圖案會被平移、旋轉並縮放,以符合起點與終點之間的定位。 圖案不得為空,且終點必須與起始點不同。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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 屬性 (Attribute) 是必要項。

屬性

備註

屬性 android:patternPathData 提供模式路徑。

Java 文件 android.transition.PatternPathMotion。

Android Open Source Project 用於 XML 建構器行為的原始碼。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於