Constructs a <Color> object with the specified red, green, blue, and alpha values.
Color Color( int32 p_iR, int32 p_iG, int32 p_iB, int32 p_iA )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_iR | An <int32> representing the red value of the color. Must be 0-255. |
int32 | p_iG | An <int32> representing the green value of the color. Must be 0-255. |
int32 | p_iB | An <int32> representing the blue value of the color. Must be 0-255. |
int32 | p_iA | An <int32> representing the alpha value of the color. Must be 0-255. |
auto Color a_oValue = new Color( 255, 128, 64, 255 ); // = 'new Color(' indicates the start of the constructor.