Rectangle shaped text block.
void draw() const override
Simply draws the Text object.
Text(const std::string &text="")
Constructor, text may contain \n newlines.
void setAlign(Alignment)
Alignment of this text block.
void setText(const std::string &)
The text to display (may contain \n newlines)