共用方式為


SurfaceControl.Transaction.SetAlpha(SurfaceControl, Single) Method

Definition

[Android.Runtime.Register("setAlpha", "(Landroid/view/SurfaceControl;F)Landroid/view/SurfaceControl$Transaction;", "GetSetAlpha_Landroid_view_SurfaceControl_FHandler", ApiSince=29)]
public virtual Android.Views.SurfaceControl.Transaction SetAlpha (Android.Views.SurfaceControl sc, float alpha);
[<Android.Runtime.Register("setAlpha", "(Landroid/view/SurfaceControl;F)Landroid/view/SurfaceControl$Transaction;", "GetSetAlpha_Landroid_view_SurfaceControl_FHandler", ApiSince=29)>]
abstract member SetAlpha : Android.Views.SurfaceControl * single -> Android.Views.SurfaceControl.Transaction
override this.SetAlpha : Android.Views.SurfaceControl * single -> Android.Views.SurfaceControl.Transaction

Parameters

alpha
Single

Returns

Attributes

Applies to