SurfaceControl.Transaction.SetDamageRegion(SurfaceControl, Region) Method

Definition

Sets the damaged region of the specified surface's buffer.

[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

Parameters

sc
SurfaceControl

The Android.Views.SurfaceControl value used for sc.

region
Region

The Android.Graphics.Region value used for region.

Returns

The result of the set damage region operation.

Attributes

Remarks

For details, see the Android reference documentation for android.view.SurfaceControl.Transaction.setDamageRegion.

Java documentation for android.view.SurfaceControl.Transaction.setDamageRegion.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to