tmxlite 1.0.0
lightweight parse for Tiled maps
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: