Color
Object Hierarchy:
Description:
[ CCode ( cname = "hb_color_t" ) ]
[ GIR ( name = "color_t" ) ]
[ SimpleType ]
public struct Color : uint32
Data type for holding color values.
Colors are eight bits per channel RGB plus alpha transparency.
Content:
Methods:
- public uint8 get_alpha ()
Fetches the alpha channel of the given color.
- public uint8 get_blue ()
Fetches the blue channel of the given color.
- public uint8 get_green ()
Fetches the green channel of the given color.
- public uint8 get_red ()
Fetches the red channel of the given color.
Inherited Members:
All known members inherited from struct uint32
- FORMAT
- FORMAT_MODIFIER
- MAX
- MIN
- clamp
- from_big_endian
- from_little_endian
- from_network
- max
- min
- swap_big_endian_pdp
- swap_little_endian_big_endian
- swap_little_endian_pdp
- to_big_endian
- to_little_endian
- to_network
- to_string