Android.Graphics.Drawables.ShapeDrawable.SetAlpha Method
Set the alpha level for this drawable [0.

Syntax

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

Parameters

alpha
Documentation for this section has not yet been entered.

Remarks

Set the alpha level for this drawable [0..255]. Note that this drawable also has a color in its paint, which has an alpha as well. These two values are automatically combined during drawing. Thus if the color's alpha is 75% (i.e. 192) and the drawable's alpha is 50% (i.e. 128), then the combined alpha that will be used during drawing will be 37.5% (i.e. 96).

[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