Drawable.SetHotspotBounds(Int32, Int32, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定熱點的限制範圍,若與可繪製的界限不同。
[Android.Runtime.Register("setHotspotBounds", "(IIII)V", "GetSetHotspotBounds_IIIIHandler")]
public virtual void SetHotspotBounds(int left, int top, int right, int bottom);
[<Android.Runtime.Register("setHotspotBounds", "(IIII)V", "GetSetHotspotBounds_IIIIHandler")>]
abstract member SetHotspotBounds : int * int * int * int -> unit
override this.SetHotspotBounds : int * int * int * int -> unit
參數
- left
- Int32
左邊界像素中的位置
- top
- Int32
上界像素中的位置
- right
- Int32
右邊界像素中的位置
- bottom
- Int32
底界像素中的位置
- 屬性
備註
設定熱點的限制範圍,若與可繪製的界限不同。
Java 文件 android.graphics.drawable.Drawable.setHotspotBounds(int, int, int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。