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