Color::GetRGBA

Color::GetRGBA
inline void GetRGBA(UByte * pr, UByte * pg, UByte * pb, UByte * pa) const;
Description

GetRGBA retrieves the 8-bit red, green, blue, and alpha channel value of the current color, by directly accessing the Channels.[Red, Green, Blue, Alpha] data members.

Parameters
Parameters 
Description 
UByte * pr 
A pointer to the destination value of the red component. 
UByte * pg 
A pointer to the destination value of the green component. 
UByte * pb 
A pointer to the destination value of the blue component. 
UByte * pa 
A pointer to the destination value of the alpha component. 
See Also