PopupWindow.EpicenterBounds 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳作為進入與出口轉換中心的界限。 -或- 設定作為進入與出口轉換中心的界限。
public virtual Android.Graphics.Rect? EpicenterBounds { [Android.Runtime.Register("getEpicenterBounds", "()Landroid/graphics/Rect;", "GetGetEpicenterBoundsHandler", ApiSince=29)] get; [Android.Runtime.Register("setEpicenterBounds", "(Landroid/graphics/Rect;)V", "GetSetEpicenterBounds_Landroid_graphics_Rect_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getEpicenterBounds", "()Landroid/graphics/Rect;", "GetGetEpicenterBoundsHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setEpicenterBounds", "(Landroid/graphics/Rect;)V", "GetSetEpicenterBounds_Landroid_graphics_Rect_Handler", ApiSince=29)>]
member this.EpicenterBounds : Android.Graphics.Rect with get, set
屬性值
相對於錨點視角的界限,或 null 若未設定,則為
- 屬性
備註
財產取得者文件:
回傳作為進入與出口轉換中心的界限。
轉換使用稱為震央的 Rect 來定向前進方向。 彈出視窗的預設震中點是用錨點視角。
關於過渡震央運作的更多資訊,請參見 Transition#setEpicenterCallback(EpicenterCallback) 。
Java 文件 android.widget.PopupWindow.getEpicenterBounds()。
屬性設定文件:
設定作為進入與出口轉換中心的界限。
轉換使用稱為震央的 Rect 來定向前進方向。 彈出視窗的預設震中點是用錨點視角。
關於過渡震央運作的更多資訊,請參見 Transition#setEpicenterCallback(EpicenterCallback) 。
Java 文件 android.widget.PopupWindow.setEpicenterBounds(android.graphics.Rect)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。