Cogl.Color.prototype.copy

function copy(): Cogl.Color {
    // Gjs wrapper for cogl_color_copy()
}
  

Creates a copy of color

Since 1.0

Returns

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