tmxlite: tmx::Colour Struct Reference

tmxlite 1.0.0 lightweight parse for Tiled maps

Public Member Functions | Public Attributes | List of all members
tmx::Colour Struct Referencefinal

Contains the red, green, blue and alpha values of a colour in the range 0 - 255. More...

`#include <Types.hpp>`

## Public Member Functions
| Colour (std::uint8_t red=0, std::uint8_t green=0, std::uint8_t blue=0, std::uint8_t alpha=255)
bool | operator== (const Colour &other) const
bool | operator!= (const Colour &other) const
| operator std::uint32_t () const

## Public Attributes
std::uint8_t | r
std::uint8_t | g
std::uint8_t | b
std::uint8_t | a

## Detailed Description

Contains the red, green, blue and alpha values of a colour in the range 0 - 255.

The documentation for this struct was generated from the following file:

- D:/W/B/src/tmxlite-1.4.5/tmxlite/include/tmxlite/Types.hpp