Compartilhar via


ImageView.SetAlpha(Int32) Method

Definition

Caution

deprecated

Sets the alpha value that should be applied to the image.

[Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")]
[System.Obsolete("deprecated")]
public virtual void SetAlpha (int alpha);
[<Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetAlpha : int -> unit
override this.SetAlpha : int -> unit

Parameters

alpha
Int32

the alpha value that should be applied to the image

Attributes

Remarks

Sets the alpha value that should be applied to the image.

This member is deprecated. use #setImageAlpha(int) instead

Java documentation for android.widget.ImageView.setAlpha(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