add


Description:

public Color add (Color b)

Adds this to b and saves the resulting color inside result.

The alpha channel of result is set as as the maximum value between the alpha channels of this and b.

Parameters:

this

a Color

b

a Color

result

return location for the result