Android Guides | Samples

Android.Graphics.Drawables.ClipDrawable.SetAlpha Method

Specify an alpha value for the drawable.

Syntax

[Android.Runtime.Register("setAlpha", "(I)V", "GetSetAlpha_IHandler")]
public override Void SetAlpha (Int32 alpha)

Parameters

alpha

Remarks

Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1