getAlpha

abstract fun getAlpha(): Int

获取此颜色的 Alpha(透明度)分量。 0 表示完全透明,255 表示完全不透明。

Return

范围在 [0..255] 内的整数。