語言

Region.Set 方法

定義

多載

名稱 Description
Set(Int32, Int32, Int32, Int32)

將區域設定為指定的矩形

Set(Region)

設定區域到指定的區域。

Set(Rect)

將區域設定為指定的矩形

Set(Int32, Int32, Int32, Int32)

將區域設定為指定的矩形

[Android.Runtime.Register("set", "(IIII)Z", "GetSet_IIIIHandler")]
public virtual bool Set(int left, int top, int right, int bottom);
[<Android.Runtime.Register("set", "(IIII)Z", "GetSet_IIIIHandler")>]
abstract member Set : int * int * int * int -> bool
override this.Set : int * int * int * int -> bool

參數

left
Int32
top
Int32
right
Int32
bottom
Int32

傳回

屬性

備註

將區域設定為指定的矩形

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

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

適用於

Set(Region)

設定區域到指定的區域。

[Android.Runtime.Register("set", "(Landroid/graphics/Region;)Z", "GetSet_Landroid_graphics_Region_Handler")]
public virtual bool Set(Android.Graphics.Region region);
[<Android.Runtime.Register("set", "(Landroid/graphics/Region;)Z", "GetSet_Landroid_graphics_Region_Handler")>]
abstract member Set : Android.Graphics.Region -> bool
override this.Set : Android.Graphics.Region -> bool

參數

region
Region

傳回

屬性

備註

設定區域到指定的區域。

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

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

適用於

Set(Rect)

將區域設定為指定的矩形

[Android.Runtime.Register("set", "(Landroid/graphics/Rect;)Z", "GetSet_Landroid_graphics_Rect_Handler")]
public virtual bool Set(Android.Graphics.Rect r);
[<Android.Runtime.Register("set", "(Landroid/graphics/Rect;)Z", "GetSet_Landroid_graphics_Rect_Handler")>]
abstract member Set : Android.Graphics.Rect -> bool
override this.Set : Android.Graphics.Rect -> bool

參數

r
Rect

傳回

屬性

備註

將區域設定為指定的矩形

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

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

適用於