Cogl.Color.prototype.get_red_byte
function get_red_byte(): Number(guint8) {
// Gjs wrapper for cogl_color_get_red_byte()
}
Retrieves the red channel of color as a byte value between 0 and 255
Since 1.0
- Returns
the red channel of the passed color