言語

SurfaceControl.Transaction.Reparent(SurfaceControl, SurfaceControl) メソッド

定義

特定のレイヤーを新しい親に再親します。 子は、子が親Surface内のピクセルであるかのように、変換 (位置、スケーリング) トリミング、可視性、Z オーダーを親から継承します。

[Android.Runtime.Register("reparent", "(Landroid/view/SurfaceControl;Landroid/view/SurfaceControl;)Landroid/view/SurfaceControl$Transaction;", "GetReparent_Landroid_view_SurfaceControl_Landroid_view_SurfaceControl_Handler", ApiSince=29)]
public virtual Android.Views.SurfaceControl.Transaction Reparent(Android.Views.SurfaceControl sc, Android.Views.SurfaceControl? newParent);
[<Android.Runtime.Register("reparent", "(Landroid/view/SurfaceControl;Landroid/view/SurfaceControl;)Landroid/view/SurfaceControl$Transaction;", "GetReparent_Landroid_view_SurfaceControl_Landroid_view_SurfaceControl_Handler", ApiSince=29)>]
abstract member Reparent : Android.Views.SurfaceControl * Android.Views.SurfaceControl -> Android.Views.SurfaceControl.Transaction
override this.Reparent : Android.Views.SurfaceControl * Android.Views.SurfaceControl -> Android.Views.SurfaceControl.Transaction

パラメーター

sc
SurfaceControl

sc に使用される Android.Views.SurfaceControl 値。

newParent
SurfaceControl

新しい親に使用される Android.Views.SurfaceControl 値。

返品

親の復帰操作の結果。

属性

注釈

詳細については、android.view.SurfaceControl.Transaction.reparent の Android リファレンス ドキュメントを参照してください。

android.view.SurfaceControl.Transaction.reparent のJavaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象