Text GUI element.
More...
#include <hV_GUI.h>
|
| | Text (GUI *gui) |
| | Constructor. More...
|
| |
| void | dDefine (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint8_t size=0) |
| | Define a text box, vector coordinates. More...
|
| |
| void | draw (STRING_CONST_TYPE text) |
| | Display the text. More...
|
| |
Text GUI element.
Text displays a text with format options
◆ Text()
Constructor.
- Parameters
-
| gui | &gui to which the element belongs |
◆ dDefine()
| void Text::dDefine |
( |
uint16_t |
x0, |
|
|
uint16_t |
y0, |
|
|
uint16_t |
dx, |
|
|
uint16_t |
dy, |
|
|
uint8_t |
size = 0 |
|
) |
| |
Define a text box, vector coordinates.
- Parameters
-
| x0 | point coordinate, x-axis |
| y0 | point coordinate, y-axis |
| dx | length, x-axis |
| dy | height, y-axis |
| size | size of the font, default = 0 = small, optional |
More: Coordinate, Colour
◆ draw()
| void Text::draw |
( |
STRING_CONST_TYPE |
text | ) |
|
Display the text.
- Parameters
-
The documentation for this class was generated from the following file: