SurfaceControl.Transaction.SetDamageRegion(SurfaceControl, Region) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.