Cogl.Color.prototype.get_green

function get_green(): Number(gfloat) {
    // Gjs wrapper for cogl_color_get_green()
}
  

Retrieves the green channel of color as a fixed point value between 0 and 1.0.

Since 1.0

Returns

the green channel of the passed color