Color
Object Hierarchy:
Description:
public struct Color
A Color is used to describe a color, similar to the XColor struct used in the X11 drawing API.
Content:
Static methods:
Methods:
- public Color copy ()
Makes a copy of a Color.
- public bool equal (Color colorb)
Compares two colors.
- public void free ()
Frees a Color created with
copy.
- public uint hash ()
A hash function suitable for using for a hash table that stores
Colors.
- public string to_string ()
Returns a textual specification of this
in the hexadecimal form “#rrrrggggbbbb” where “r”, “g” and “b” are hex digits representing the red, green and
blue components respectively.
Fields: