Color.Merge (gb.image)
Static Function Merge ( Color1 As Integer, Color2 As Integer [ , Weight As Float ] ) As Integer
Returns a mix between Color1 and Color2.
Weight is the relative weight of the second color, between 0
and 1
.
In other words, if Weight is 0
, then Color1 is returned. If Weight is 1
, then Color2 is returned.
And otherwise a color between Color1 and Color2 is returned.
If the weight is not specified, it is assumed to be 0.5
.