RGBA
Object Hierarchy:
Description:
public struct RGBA
The GdkRGBA structure is used to represent a (possibly translucent) color, in a way that is compatible with cairos notion of color.
Content:
Methods:
- public RGBA copy ()
Makes a copy of a RGBA structure.
- public bool equal (RGBA p2)
Compares two RGBA colors.
- public void free ()
Frees a RGBA struct created with
copy
- public uint hash ()
A hash function suitable for using for a hash table that stores
GdkRGBAs.
- public bool parse (string spec)
Parses a textual representation of a color, filling in the red,
green, blue and alpha fields of the rgba struct.
- public string to_string ()
Returns a textual specification of rgba in the form rgb (r,
g, b) or rgba (r, g, b, a), where 'r', 'g', 'b' and 'a' represent the red, green, blue and alpha values respectively.
Fields: