Color::SetColor

Color::SetColor
inline void SetColor(const Color & c);
inline void SetColor(const Color & c, UByte a8);
inline void SetColor(const Color & c, Color ac);
inline void SetColor(UInt32 raw);
inline void SetColor(UInt32 raw, UByte a8);
inline void SetColor(UByte r, UByte g, UByte b, UByte a = 0);
Description

SetColor initializes the red, green, blue, and alpha components of the current color.

Parameters
Parameters 
Description 
const Color & c 
A color whose components set those of the current color. 
UByte a8 
A value containing the 8-bit alpha channel. 
Color ac 
A color whose alpha component is set the the current color's alpha channel. 
UInt32 raw 
A 32-bit ARGB value whose components set those of the current color. 
UByte r 
A value containing the red component of the current color. 
UByte g 
A value containing the green component of the current color. 
UByte b 
A value containing the blue component of the current color.