bool isCenterAligned()
Is the text center aligned ?
void setCharacterSize(int size)
Set the character size.
void setCenterAlignment(bool value)
Set the center alignment.
bool _centerAligned
Is the text center aligned ?
Text()
Create a text without font. See setFont.
void setFont(Ptr< Font > font)
Set the font.
float calculateLength()
Calculate the text length.
void setContent(std::string content)
Set the text content.
void functionDraw(Ptr< Shader > shader, math::Function function)
Draw the text following a function.