Architecture Arcade
Architecture Commune Arcade
Public Attributes | List of all members
Arcade::Graph::IText Struct Reference

The IText class. More...

#include <IText.hpp>

Inheritance diagram for Arcade::Graph::IText:
Inheritance graph
Collaboration diagram for Arcade::Graph::IText:
Collaboration graph

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
 

Detailed Description

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)

Member Data Documentation

◆ backgroundColor

Color Arcade::Graph::IText::backgroundColor

The background color.

◆ fontPath

std::string Arcade::Graph::IText::fontPath

Font path.

◆ pos

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

◆ text

std::string Arcade::Graph::IText::text

Text to display.

◆ textColor

Color Arcade::Graph::IText::textColor

The text color.


The documentation for this struct was generated from the following file: