equal


Description:

[ Version ( since = "0.2" ) ]
public bool equal (Color v2)

Compares two Colors 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 Colors as keys in a GenericSet.

Parameters:

this

a Color

v2

a Color

Returns:

true if the two colors are the same.