語言

PathShape 建構函式

定義

多載

名稱 Description
PathShape(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

PathShape(Path, Single, Single)

PathShape 建構器。

PathShape(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected PathShape(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.Shapes.PathShape : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.Shapes.PathShape

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

PathShape(Path, Single, Single)

PathShape 建構器。

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;FF)V", "")]
public PathShape(Android.Graphics.Path path, float stdWidth, float stdHeight);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;FF)V", "")>]
new Android.Graphics.Drawables.Shapes.PathShape : Android.Graphics.Path * single * single -> Android.Graphics.Drawables.Shapes.PathShape

參數

path
Path

一條定義此形狀幾何路徑的路徑

stdWidth
Single

形狀的標準寬度。 任何用 resize() 調整寬度時,寬度都會根據新寬度除以這個寬度來縮放。

stdHeight
Single

標準的形狀高度。 任何以 resize() 調整高度的設定,都會根據新高度除以這個高度來縮放。

屬性

備註

PathShape 建構器。

Java 文件 android.graphics.drawable.shapes.PathShape.PathShape(android.graphics.Path, float, float)。

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

適用於