語言

Region 建構函式

定義

多載

名稱 Description
Region()

建立一個空白區域

Region(Rect)

回傳一個設定為指定矩形的區域

Region(Region)

回傳指定區域的副本

Region(IntPtr, JniHandleOwnership)

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

Region(Int32, Int32, Int32, Int32)

回傳一個設定為指定矩形的區域

Region()

建立一個空白區域

[Android.Runtime.Register(".ctor", "()V", "")]
public Region();
屬性

備註

建立一個空白區域

Java 文件 android.graphics.Region.Region()。

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

適用於

Region(Rect)

回傳一個設定為指定矩形的區域

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;)V", "")]
public Region(Android.Graphics.Rect r);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;)V", "")>]
new Android.Graphics.Region : Android.Graphics.Rect -> Android.Graphics.Region

參數

r
Rect
屬性

備註

回傳一個設定為指定矩形的區域

Java 文件 android.graphics.Region.Region(android.graphics.Rect)。

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

適用於

Region(Region)

回傳指定區域的副本

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Region;)V", "")]
public Region(Android.Graphics.Region region);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Region;)V", "")>]
new Android.Graphics.Region : Android.Graphics.Region -> Android.Graphics.Region

參數

region
Region
屬性

備註

回傳指定區域的副本

Java 文件 android.graphics.Region.Region(android.graphics.Region)。

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

適用於

Region(IntPtr, JniHandleOwnership)

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

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

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

Region(Int32, Int32, Int32, Int32)

回傳一個設定為指定矩形的區域

[Android.Runtime.Register(".ctor", "(IIII)V", "")]
public Region(int left, int top, int right, int bottom);
[<Android.Runtime.Register(".ctor", "(IIII)V", "")>]
new Android.Graphics.Region : int * int * int * int -> Android.Graphics.Region

參數

left
Int32
top
Int32
right
Int32
bottom
Int32
屬性

備註

回傳一個設定為指定矩形的區域

Java 文件 android.graphics.Region.Region(int, int, int, int)。

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

適用於