Class Label#
Defined in File Label.h
Class Documentation#
-
class Label#
Text label MooViE component representation.
A Label is a formatted text that is stored as a text string and a TextProperties object.
- Author
stratmann
- Date
27.04.2018
Public Functions
-
inline Label(const std::string &text, const TextProperties &prop)#
Creates a Label from given text and TextProperties.
- Parameters:
text – the text to be displayed
prop – the TextProperties to be used
-
inline const std::string &get_text() const#
Returns a const reference to this Labels text.
- Returns:
a reference to the text
-
inline const TextProperties &get_properties() const#
Returns a const reference to this Labels TextProperties.
- Returns:
a reference to the TextProperties