Cogl.Color.new

function new(): Cogl.Color {
    // Gjs wrapper for cogl_color_new()
}
  

Creates a new (empty) color

Since 1.0

Returns

a newly-allocated Cogl.Color. Use Cogl.Color.prototype.free to free the allocated resources