opacity

infix fun Color.opacity(value: Float): Color

Creates a new Color like this one except with the given opacity.

Return

the new color

Parameters

value

of the new opacity


Creates a new color like this one except with the given opacity.

Return

the new color

Parameters

value

of the new opacity