언어

SurfaceControl.Transaction.SetGeometry 메서드

정의

지정된 표면의 원본 자르기, 대상 프레임 및 버퍼 변환을 설정합니다.

[Android.Runtime.Register("setGeometry", "(Landroid/view/SurfaceControl;Landroid/graphics/Rect;Landroid/graphics/Rect;I)Landroid/view/SurfaceControl$Transaction;", "GetSetGeometry_Landroid_view_SurfaceControl_Landroid_graphics_Rect_Landroid_graphics_Rect_IHandler", ApiSince=29)]
public virtual Android.Views.SurfaceControl.Transaction SetGeometry(Android.Views.SurfaceControl sc, Android.Graphics.Rect? sourceCrop, Android.Graphics.Rect? destFrame, Android.Views.SurfaceOrientation orientation);
[<Android.Runtime.Register("setGeometry", "(Landroid/view/SurfaceControl;Landroid/graphics/Rect;Landroid/graphics/Rect;I)Landroid/view/SurfaceControl$Transaction;", "GetSetGeometry_Landroid_view_SurfaceControl_Landroid_graphics_Rect_Landroid_graphics_Rect_IHandler", ApiSince=29)>]
abstract member SetGeometry : Android.Views.SurfaceControl * Android.Graphics.Rect * Android.Graphics.Rect * Android.Views.SurfaceOrientation -> Android.Views.SurfaceControl.Transaction
override this.SetGeometry : Android.Views.SurfaceControl * Android.Graphics.Rect * Android.Graphics.Rect * Android.Views.SurfaceOrientation -> Android.Views.SurfaceControl.Transaction

매개 변수

sc
SurfaceControl

sc에 사용되는 Android.Views.SurfaceControl 값입니다.

sourceCrop
Rect

원본 자르기에서 사용되는 Android.Graphics.Rect 값입니다.

destFrame
Rect

dest 프레임에 사용되는 Android.Graphics.Rect 값입니다.

orientation
SurfaceOrientation

방향에 사용되는 Android.Views.SurfaceOrientation 값입니다.

반품

기하 도형 설정 작업의 결과입니다.

특성

설명

자세한 내용은 android.view.SurfaceControl.Transaction.setGeometry에 대한 Android 참조 설명서를 참조하세요.

android.view.SurfaceControl.Transaction.setGeometry에 대한 Java 설명서입니다.

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상