mrpt::utils::TColor Struct Reference
A RGB color - 8bit.
More...
#include <mrpt/utils/types.h>
List of all members.
Public Member Functions |
| | TColor (uint8_t r=0, uint8_t g=0, uint8_t b=0, uint8_t alpha=255) |
| | operator int (void) const |
| | Operator for implicit conversion into an int binary representation 0xRRGGBB.
|
Public Attributes |
| uint8_t | R |
| uint8_t | G |
| uint8_t | B |
| uint8_t | A |
Static Public Attributes |
| static TColor | red |
| | Predefined colors.
|
| static TColor | green |
| | Predefined colors.
|
| static TColor | blue |
| | Predefined colors.
|
| static TColor | white |
| | Predefined colors.
|
| static TColor | black |
| | Predefined colors.
|
| static TColor | gray |
| | Predefined colors.
|
Detailed Description
A RGB color - 8bit.
Definition at line 227 of file types.h.
Constructor & Destructor Documentation
| mrpt::utils::TColor::TColor |
( |
uint8_t |
r = 0, |
|
|
uint8_t |
g = 0, |
|
|
uint8_t |
b = 0, |
|
|
uint8_t |
alpha = 255 | |
|
) |
| | [inline] |
Member Function Documentation
| mrpt::utils::TColor::operator int |
( |
void |
|
) |
const [inline] |
Operator for implicit conversion into an int binary representation 0xRRGGBB.
Definition at line 232 of file types.h.
Member Data Documentation
Predefined colors.
Definition at line 236 of file types.h.
Predefined colors.
Definition at line 239 of file types.h.
Predefined colors.
Definition at line 237 of file types.h.