Cogl.Color.prototype.get_red
function get_red(): Number(gfloat) { // Gjs wrapper for cogl_color_get_red() }
Retrieves the red channel of color as a fixed point value between 0 and 1.0.
Since 1.0
- Returns
the red channel of the passed color
function get_red(): Number(gfloat) { // Gjs wrapper for cogl_color_get_red() }
Retrieves the red channel of color as a fixed point value between 0 and 1.0.
Since 1.0
the red channel of the passed color