Cogl.Color.prototype.get_alpha_byte

function get_alpha_byte(): Number(guint8) {
    // Gjs wrapper for cogl_color_get_alpha_byte()
}
  

Retrieves the alpha channel of color as a byte value between 0 and 255

Since 1.0

Returns

the alpha channel of the passed color