comp • gb.image • color • blend

Color.Blend (gb.image)

Static Function Blend ( Source As Integer, Destination As Integer ) As Integer

Blends the Source color into the Destination color, according to the alpha channel of both colors, and returns the resulting color.

The alpha channel of the resulting color is the more transparent alpha channel between Source and Destination, i.e. the one with the minor numerical value.