getAlpha

open fun getAlpha(@NonNull drawable: Drawable): Int(source)

Deprecated

Call getAlpha directly.

Get the alpha value of the drawable. 0 means fully transparent, 255 means fully opaque.

Parameters

drawable

The Drawable against which to invoke the method.