語言

SurfaceControl.Transaction.SetLayer(SurfaceControl, Int32) 方法

定義

設定指定曲面的Z階層。

[Android.Runtime.Register("setLayer", "(Landroid/view/SurfaceControl;I)Landroid/view/SurfaceControl$Transaction;", "GetSetLayer_Landroid_view_SurfaceControl_IHandler", ApiSince=29)]
public virtual Android.Views.SurfaceControl.Transaction SetLayer(Android.Views.SurfaceControl sc, int z);
[<Android.Runtime.Register("setLayer", "(Landroid/view/SurfaceControl;I)Landroid/view/SurfaceControl$Transaction;", "GetSetLayer_Landroid_view_SurfaceControl_IHandler", ApiSince=29)>]
abstract member SetLayer : Android.Views.SurfaceControl * int -> Android.Views.SurfaceControl.Transaction
override this.SetLayer : Android.Views.SurfaceControl * int -> Android.Views.SurfaceControl.Transaction

參數

sc
SurfaceControl

用於 sc. 的 Android.Views.SurfaceControl 值。

z
Int32

System.Int32 值用於 z。

傳回

這是集合層操作的結果。

屬性

備註

詳情請參閱 android.view.SurfaceControl.Transaction.setLayer 的 Android 參考文件。

android.view.SurfaceControl.Transaction.setLayer 的 Java 文件。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於