|
GPR5100 - Rollback
|
Color is a struct defining an RGBA color with 4 bytes. More...
#include <color.h>
Public Member Functions | |
| constexpr | Color (std::uint8_t red, std::uint8_t green, std::uint8_t blue, std::uint8_t alpha=255u) |
| operator sf::Color () const | |
Static Public Member Functions | |
| static constexpr Color | red () |
| static constexpr Color | green () |
| static constexpr Color | blue () |
| static constexpr Color | yellow () |
| static constexpr Color | black () |
| static constexpr Color | white () |
| static constexpr Color | magenta () |
| static constexpr Color | cyan () |
| static constexpr Color | transparent () |
Public Attributes | |
| std::uint8_t | r = 0u |
| std::uint8_t | g = 0u |
| std::uint8_t | b = 0u |
| std::uint8_t | a = 0u |
Color is a struct defining an RGBA color with 4 bytes.