Sets the specified red, green, blue, and alpha values.
int32 SetRGBA( uint8 p_nRed, uint8 p_nGreen, uint8 p_nBlue, uint8 p_nAlpha )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<uint8> | p_nRed | Sets the red value of the color to the specified value. |
<uint8> | p_nGreen | Sets the green value of the color to the specified value. |
<uint8> | p_nBlue | Sets the blue value of the color to the specified value. |
<uint8> | p_nAlpha | Sets the alpha value of the color to the specified value. |
auto Color a;
a.SetRGBA( 255, 128, 64, 255 );
Console.Out( LibColor.Out( a ) );
255, 128, 64, 255