static public method Color.FromRgba
Creates a Color
structure from the four RGBA components (red, green, blue and alpha) 0.0 - 1.0 values.
Declaration | ||||
|
Parameters | |
r |
The red component value of the color. |
g |
The green component value of the color. |
b |
The blue component value of the color. |
a |
The alpha component value of the color. This parameter is optional.
By default, the value is |
The components must have values between 0.0f
(0%, 0 byte value) and 1.0f
(100%, 255 byte value).
Declared in Color