共用方式為


SurfaceControl.Transaction.SetCrop(SurfaceControl, Rect) 方法

定義

[Android.Runtime.Register("setCrop", "(Landroid/view/SurfaceControl;Landroid/graphics/Rect;)Landroid/view/SurfaceControl$Transaction;", "GetSetCrop_Landroid_view_SurfaceControl_Landroid_graphics_Rect_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetCrop (Android.Views.SurfaceControl sc, Android.Graphics.Rect? crop);
[<Android.Runtime.Register("setCrop", "(Landroid/view/SurfaceControl;Landroid/graphics/Rect;)Landroid/view/SurfaceControl$Transaction;", "GetSetCrop_Landroid_view_SurfaceControl_Landroid_graphics_Rect_Handler", ApiSince=33)>]
abstract member SetCrop : Android.Views.SurfaceControl * Android.Graphics.Rect -> Android.Views.SurfaceControl.Transaction
override this.SetCrop : Android.Views.SurfaceControl * Android.Graphics.Rect -> Android.Views.SurfaceControl.Transaction

參數

crop
Rect

傳回

屬性

適用於