Sdílet prostřednictvím


RenderScriptGL.SurfaceConfig.SetAlpha(Int32, Int32) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("setAlpha", "(II)V", "GetSetAlpha_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetAlpha (int minimum, int preferred);
[<Android.Runtime.Register("setAlpha", "(II)V", "GetSetAlpha_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetAlpha : int * int -> unit
override this.SetAlpha : int * int -> unit

Parameters

minimum
Int32

minimum

preferred
Int32

preferred

Attributes

Remarks

This member is deprecated. in API 16 Set the bit depth for alpha. This configures the surface for an unsigned integer buffer type.

Java documentation for android.renderscript.RenderScriptGL.SurfaceConfig.setAlpha(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to