Color_t Struct Reference
Color object (red, green, blue, alpha).
More...
#include <UTColor.h>
List of all members.
Detailed Description
Non-core library: UTgfx
Struct representing a color's red, green and blue values, and also its alpha value. An alpha value of 0 is completely transparent, and an alpha value of 255 is completely opaque. Red, green, blue values of 0,0,0 are black and 255,255,255 are white.
Definition at line 42 of file UTColor.h.
Constructor & Destructor Documentation
Color_t::Color_t |
( |
|
) |
[inline] |
Contructor for an empty color, which is transparent having an alpha value of zero. Red, green, and blue also happen to be zero making the color transparent but with RGB specifying a color which is irrelevant but happens to be black.
Definition at line 104 of file UTColor.h.
Contructor for a color.
Definition at line 114 of file UTColor.h.
Member Function Documentation
Assignment operator.
Definition at line 124 of file UTColor.h.
bool Color_t::operator== |
( |
const Color_t & |
other |
) |
const [inline] |
Comparison operator.
Definition at line 136 of file UTColor.h.
bool Color_t::operator!= |
( |
const Color_t & |
other |
) |
const [inline] |
Comparison operator.
Definition at line 146 of file UTColor.h.
Member Data Documentation
The red value. 0 is minimum intensity, 255 is maximum intensity.
Definition at line 53 of file UTColor.h.
The green value. 0 is minimum intensity, 255 is maximum intensity.
Definition at line 57 of file UTColor.h.
The blue value. 0 is minimum intensity, 255 is maximum intensity.
Definition at line 61 of file UTColor.h.
The alpha value. 0 is completely transparent, 255 is completely opaque.
Definition at line 65 of file UTColor.h.
The documentation for this struct was generated from the following file:
- D:/develop/svn/utlib/utlib/trunk/UT/src_UTgfx/UTColor.h