Chronos 0.0
A advanced 2D rendering and animation system
Loading...
Searching...
No Matches
Chronos::Manager::Text Struct Reference

Text parameters for displaying text. More...

#include <chronos.hpp>

Public Attributes

float x = 0.0
 
float y = 0.0
 
float rotation = 0.0
 
float scale = 1.0
 
std::string text = ""
 

Detailed Description

Text parameters for displaying text.

In order to display text on screen, certain parameters needs to be defined.

Parameters
xThe x coordinate of the text position
yThe y coordiante of the text position
rotationThe rotation of the text(Degrees)
textThe text to be displayed

Definition at line 67 of file chronos.hpp.

Member Data Documentation

◆ rotation

float Chronos::Manager::Text::rotation = 0.0

Definition at line 70 of file chronos.hpp.

◆ scale

float Chronos::Manager::Text::scale = 1.0

Definition at line 71 of file chronos.hpp.

◆ text

std::string Chronos::Manager::Text::text = ""

Definition at line 72 of file chronos.hpp.

◆ x

float Chronos::Manager::Text::x = 0.0

Definition at line 68 of file chronos.hpp.

◆ y

float Chronos::Manager::Text::y = 0.0

Definition at line 69 of file chronos.hpp.


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