String of glyphs rendered with a font.
More...
#include <Text.hpp>
String of glyphs rendered with a font.
Definition at line 21 of file Text.hpp.
◆ Text() [1/4]
galaxy::components::Text::Text |
( |
| ) |
|
Constructor.
Definition at line 16 of file Text.cpp.
◆ Text() [2/4]
galaxy::components::Text::Text |
( |
const nlohmann::json & | json | ) |
|
JSON constructor.
- Parameters
-
json | JSON defining object. |
Definition at line 21 of file Text.cpp.
◆ Text() [3/4]
galaxy::components::Text::Text |
( |
Text && | t | ) |
|
Move constructor.
Definition at line 27 of file Text.cpp.
◆ ~Text()
galaxy::components::Text::~Text |
( |
| ) |
|
|
virtual |
Destructor.
Definition at line 43 of file Text.cpp.
◆ Text() [4/4]
galaxy::components::Text::Text |
( |
const Text & | | ) |
|
|
privatedelete |
◆ operator=() [1/2]
Text & galaxy::components::Text::operator= |
( |
Text && | t | ) |
|
Move assignment operator.
Definition at line 33 of file Text.cpp.
◆ serialize()
nlohmann::json galaxy::components::Text::serialize |
( |
| ) |
|
|
nodiscardoverridevirtual |
◆ deserialize()
void galaxy::components::Text::deserialize |
( |
const nlohmann::json & | json | ) |
|
|
overridevirtual |
◆ operator=() [2/2]
Text & galaxy::components::Text::operator= |
( |
const Text & | | ) |
|
|
privatedelete |
Copy assignment operator.
◆ m_text
graphics::Text galaxy::components::Text::m_text |
The documentation for this class was generated from the following files: