Color.Opacity (gb.image)
Static Function Opacity ( Color As Integer, Opacity As Float ) As Integer
Since 3.21
Define the opacity of a specific color and returns it.
The opacity is defined by a floating-point number between
0
and
1
.
0
is for a fully transparent color, and
1
for a fully opaque one.