Tileson  1.3.0
A helpful json parser for Tiled maps
Public Member Functions | Public Attributes | List of all members
tson::Text Class Reference

#include <Text.hpp>

Public Member Functions

 Text ()=default
 
 Text (std::string _text, bool _wrap, tson::Colori _color)
 

Public Attributes

std::string text
 
tson::Colori color
 
bool wrap {}
 

Constructor & Destructor Documentation

◆ Text() [1/2]

tson::Text::Text ( )
inlinedefault

◆ Text() [2/2]

tson::Text::Text ( std::string  _text,
bool  _wrap,
tson::Colori  _color 
)
inline
Parameters
_textText
_wrapIf the text is marked as wrapped

Member Data Documentation

◆ color

tson::Colori tson::Text::color

◆ text

std::string tson::Text::text

◆ wrap

bool tson::Text::wrap {}

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