tmxlite 1.0.0
lightweight parse for Tiled maps
tmx::Text Struct Referencefinal

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

#include <Object.hpp>

Public Types

enum class  HAlign { Left , Centre , Right }
enum class  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: