语言

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 参考文档。

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

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于