Cogl.Color.prototype.get_alpha

function get_alpha(): Number(gfloat) {
    // Gjs wrapper for cogl_color_get_alpha()
}
  

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

Since 1.0

Returns

the alpha channel of the passed color