core-ktx / androidx.graphics / kotlin.Int / alpha

alpha

inline val Int.alpha: Int

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

Color.alpha(myInt)