Pervasive Displays Library Suite - Basic edition 8.0.1
Library for Pervasive Displays e-paper screens and EXT3 extension board
Loading...
Searching...
No Matches
Text Class Reference

Text. More...

#include <hV_GUI.h>

Inheritance diagram for Text:

Public Member Functions

 Text (GUI *gui)
 Constructor.
 
void dDefine (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint8_t size=0)
 Define a text box, vector coordinates.
 
void draw (String text)
 Display the text.
 

Detailed Description

Text.

Display a text with format options

Constructor & Destructor Documentation

◆ Text()

Text::Text ( GUI * gui)

Constructor.

Parameters
gui&gui to which the element belongs

Member Function Documentation

◆ 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
x0point coordinate, x-axis
y0point coordinate, y-axis
dxlength, x-axis
dyheight, y-axis
sizesize of the font, default = 0 = small, optional


More: Coordinate, Colour

◆ draw()

void Text::draw ( String text)

Display the text.

Parameters
texttext to be displayed

The documentation for this class was generated from the following files: