SurfaceView.SetBlurRegions(ICollection<BlurRegion>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定 SurfaceView 內容中要模糊的區域清單。
[Android.Runtime.Register("setBlurRegions", "(Ljava/util/Collection;)V", "GetSetBlurRegions_Ljava_util_Collection_Handler", ApiSince=37)]
public virtual void SetBlurRegions(System.Collections.Generic.ICollection<Android.Views.BlurRegion>? blurRegions);
[<Android.Runtime.Register("setBlurRegions", "(Ljava/util/Collection;)V", "GetSetBlurRegions_Ljava_util_Collection_Handler", ApiSince=37)>]
abstract member SetBlurRegions : System.Collections.Generic.ICollection<Android.Views.BlurRegion> -> unit
override this.SetBlurRegions : System.Collections.Generic.ICollection<Android.Views.BlurRegion> -> unit
參數
- blurRegions
- ICollection<BlurRegion>
收集 BlurRegion 一些物品來模糊或 null 清除
- 屬性
備註
指定 SurfaceView 內容中要模糊的區域清單。
呼叫此方法會替換先前設定的模糊區域。 要清除現有的模糊區域,可以通過空集合或空集合。
BlurRegion 的座標是相對於 SurfaceView 的邊界。 每當 SurfaceView 的尺寸改變時,模糊區域應該會更新或替換。
Android 參考資料。android.view.SurfaceView.setBlurRegions
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。