Cogl.Color.prototype.set_red
function set_red(red: Number(gfloat)): void { // Gjs wrapper for cogl_color_set_red() }
Sets the red channel of color to red.
Since 1.4
- red
a float value between 0.0f and 1.0f
function set_red(red: Number(gfloat)): void { // Gjs wrapper for cogl_color_set_red() }
Sets the red channel of color to red.
Since 1.4
a float value between 0.0f and 1.0f