hash


Description:

[ Version ( since = "1.0" ) ]
public uint hash ()

Converts a Color to a hash value.

This function can be passed to g_hash_table_new as the hash_func parameter, when using Colors as keys in a GenericSet.

Parameters:

this

a Color

Returns:

a hash value corresponding to the color