pub fn init_from_4f(&mut self, red: f32, green: f32, blue: f32, alpha: f32) {
        unsafe {
            ffi::cogl_color_init_from_4f(self.to_glib_none_mut().0, red, green, blue, alpha);
        }
    }
/// Sets the values of the passed channels into a `Color`
/// ## `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
Sets the values of the passed channels into a `Color`
Sets the values of the passed channels into a ` Color `
pub fn init_from_4f(&mut self, red: f32, green: f32, blue: f32, alpha: f32) {
        unsafe {
            ffi::cogl_color_init_from_4f(self.to_glib_none_mut().0, red, green, blue, alpha);
        }
    }
pub fn init_from_4f ( & mut self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { unsafe { ffi :: cogl_color_init_from_4f ( self . to_glib_none_mut ( ) . 0 , red , green , blue , alpha ) ; } }
Sets the values of the passed channels into a `Color`
Sets the values of the passed channels into a ` Color `
&mut self
red
f32
green
f32
blue
f32
alpha
f32
&mut self
red
f32
green
f32
blue
f32
alpha
f32
`red`
value of the red channel, between 0 and 1.0
value of the red channel between 0 and 1 . 0
`green`
value of the green channel, between 0 and 1.0
value of the green channel between 0 and 1 . 0
`blue`
value of the blue channel, between 0 and 1.0
value of the blue channel between 0 and 1 . 0
`alpha`
value of the alpha channel, between 0 and 1.0
value of the alpha channel between 0 and 1 . 0