alpha

Return the alpha component of a color int. This is equivalent to calling:

Color.alpha(myInt)

@get:RequiresApi(value = 26)
val Long.alpha: Float(source)

Return the alpha component of a color long. This is equivalent to calling:

Color.alpha(myLong)