![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Structure used to represent colour. More...
#include <CzColour.h>
Public Member Functions | |
| CzColour () | |
| CzColour (uint8 r, uint8 g, uint8 b, uint8 a) | |
| CzColour (uint32 rgba) | |
| void | set (const CzColour &c) |
| void | set (uint8 r, uint8 g, uint8 b, uint8 a) |
| void | set (uint32 rgba) |
| uint32 | get () const |
Public Attributes | |
| uint8 | r |
| Red component. | |
| uint8 | g |
| Green component. | |
| uint8 | b |
| Blue component. | |
| uint8 | a |
| Alpha component. | |
Structure used to represent colour.
| CzColour::CzColour | ( | ) | [inline] |
| CzColour::CzColour | ( | uint8 | r, |
| uint8 | g, | ||
| uint8 | b, | ||
| uint8 | a | ||
| ) | [inline] |
| CzColour::CzColour | ( | uint32 | rgba | ) | [inline] |
| uint32 CzColour::get | ( | ) | const [inline] |
| void CzColour::set | ( | const CzColour & | c | ) | [inline] |
| void CzColour::set | ( | uint8 | r, |
| uint8 | g, | ||
| uint8 | b, | ||
| uint8 | a | ||
| ) | [inline] |
| void CzColour::set | ( | uint32 | rgba | ) | [inline] |
| uint8 CzColour::a |
Alpha component.
| uint8 CzColour::b |
Blue component.
| uint8 CzColour::g |
Green component.
| uint8 CzColour::r |
Red component.