Color
Object Hierarchy:
Description:
public struct Color
The Color structure 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 structure.
- public bool equal (Color colorb)
Compares two colors.
- public void free ()
Frees a color structure created with
copy.
- public uint hash ()
A hash function suitable for using for a hash table that stores
GdkColors.
- public string to_string ()
Returns a textual specification of color in the hexadecimal
form #rrrrggggbbbb, where r, g and b are hex digits representing the red, green and blue components
respectively.
Fields: