|
Architecture Arcade
Architecture Commune Arcade
|
#include <IText.hpp>


Public Attributes | |
| std::string | fontPath |
| Font path. More... | |
| std::string | text |
| Text to display. More... | |
| Color | backgroundColor |
| The background color. More... | |
| Color | textColor |
| The text color. More... | |
| Arcade::Vector3f | pos |
| The sprite position in 3Dimension (you can use only x and y if you want) More... | |
Public Attributes inherited from Arcade::ECS::IComponent | |
| CompType | type |
| Type of the component (it let you cast without headache) More... | |
| std::string | id |
| Name of the component. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Arcade::ECS::IComponent | |
| virtual | ~IComponent ()=default |
The IText class.
The IText class is the class where you can manipulate text.
ATTENTION: This class is of CompType TEXT (you need to set the type in order for the graphic to play it)
| Color Arcade::Graph::IText::backgroundColor |
The background color.
| std::string Arcade::Graph::IText::fontPath |
Font path.
| Arcade::Vector3f Arcade::Graph::IText::pos |
The sprite position in 3Dimension (you can use only x and y if you want)
Positions in Pixel, terminal graph libs handle ratio
| std::string Arcade::Graph::IText::text |
Text to display.
| Color Arcade::Graph::IText::textColor |
The text color.