Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
tson::Text Class Reference
Collaboration diagram for tson::Text:
[legend]

Public Member Functions

 Text (IJson &json)
 

Data Fields

bool bold {false}
 
tson::Colori color {}
 
std::string fontFamily {"sans-serif"}
 
TextAlignment horizontalAlignment {TextAlignment::Left}
 
bool italic {false}
 
bool kerning {true}
 
int pixelSize {16}
 
bool strikeout {false}
 
std::string text {}
 
bool underline {false}
 
TextAlignment verticalAlignment {TextAlignment::Top}
 
bool wrap {}
 

Private Member Functions

TextAlignment resolveTextAlignmentByString (const std::string &str) const
 

Constructor & Destructor Documentation

◆ Text()

tson::Text::Text ( IJson json)
inlineexplicit
Parameters
_textText
_wrapIf the text is marked as wrapped

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