tmxlite
lightweight Tiled tmx map parser for C++
Public Types | Public Attributes | List of all members
tmx::Text Struct Referencefinal

Contains the text information stored in a Text object. More...

#include <Object.hpp>

Public Types

enum  HAlign { Left, Centre, Right }
 
enum  VAlign { Top, Centre, Bottom }
 

Public Attributes

std::string fontFamily
 
std::uint32_t pixelSize = 16
 pixels, not points
 
bool wrap = false
 
Colour colour
 
bool bold = false
 
bool italic = false
 
bool underline = false
 
bool strikethough = false
 
bool kerning = true
 
enum tmx::Text::HAlign hAlign = HAlign::Left
 
enum tmx::Text::VAlign vAlign = VAlign::Top
 
std::string content
 actual string content
 

Detailed Description

Contains the text information stored in a Text object.


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