Static convenience function to make color from red, green, blue and alpha float components.
shared RGBA(
red
as nfloat,
green
as nfloat,
blue
as nfloat,
alpha
as nfloat)
as Color
Parameters
- red
- Red component in the range 0.0 to 1.0.
- green
- Green component in the range 0.0 to 1.0.
- blue
- Blue component in the range 0.0 to 1.0.
- alpha
- Alpha component in the range 0.0 to 1.0.
Returns
- Color
Remarks
See Also
Color Class