Cogl.Color.equal
function equal(v1: void, v2: void): Cogl.Bool {
// Gjs wrapper for cogl_color_equal()
}
Compares two Cogl.Color<!-- -->s and checks if they are the same.
This function can be passed to g_hash_table_new() as the @key_equal_func parameter, when using Cogl.Color<!-- -->s as keys in a GLib.HashTable.
Since 1.0
- v1
- v2
- Returns
true if the two colors are the same.