語言

SurfaceControl.Transaction.SetDamageRegion(SurfaceControl, Region) 方法

定義

設定指定表面緩衝區的損壞區域。

[Android.Runtime.Register("setDamageRegion", "(Landroid/view/SurfaceControl;Landroid/graphics/Region;)Landroid/view/SurfaceControl$Transaction;", "GetSetDamageRegion_Landroid_view_SurfaceControl_Landroid_graphics_Region_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetDamageRegion(Android.Views.SurfaceControl sc, Android.Graphics.Region? region);
[<Android.Runtime.Register("setDamageRegion", "(Landroid/view/SurfaceControl;Landroid/graphics/Region;)Landroid/view/SurfaceControl$Transaction;", "GetSetDamageRegion_Landroid_view_SurfaceControl_Landroid_graphics_Region_Handler", ApiSince=33)>]
abstract member SetDamageRegion : Android.Views.SurfaceControl * Android.Graphics.Region -> Android.Views.SurfaceControl.Transaction
override this.SetDamageRegion : Android.Views.SurfaceControl * Android.Graphics.Region -> Android.Views.SurfaceControl.Transaction

參數

sc
SurfaceControl

用於 sc. 的 Android.Views.SurfaceControl 值。

region
Region

Android.Graphics.Region 的值用於區域。

傳回

這是設定損壞區域操作的結果。

屬性

備註

詳情請參閱 android.view.SurfaceControl.Transaction.setDamageRegion 的 Android 參考文件。

android.view.SurfaceControl.Transaction.setDamageRegion 的 Java 文件。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於