Color::+=

Color::+=
inline const Color& operator +=(Color c);
Description

The operator += function calls the Add method and assigns the new color to the current color.

Parameters
Parameters 
Description 
Color c 
A color that is added to the current color. 
factor 
A value that is added to each of the current color's components. 
Return Value

A Color reference to the current string, which holds a new color value created by performing the And combine operation.

See Also