[ Deprecated ( since = "1.4" ) ]
public void set_from_4f (float red, float green, float blue, float alpha)
Warning: set_from_4f is deprecated.
Sets the values of the passed channels into a Color
Use cogl_color_init_from_4f instead.
this |
A pointer to a Color to initialize |
red |
value of the red channel, between 0 and 1.0 |
green |
value of the green channel, between 0 and 1.0 |
blue |
value of the blue channel, between 0 and 1.0 |
alpha |
value of the alpha channel, between 0 and 1.0 |