TFTColor
A color used for drawing on a TFT display.
Definition TFT.h:14
A low-level interface to a TFT display.
Definition TFTDriver.h:13
virtual void clearScreen(TFTColor color)=0
Assigns one color to all pixels on the screen, clearing any previously drawn text.
virtual unsigned getScreenWidth() const =0
Returns the width, in pixels, of the screen.
virtual unsigned getTextHeight() const =0
Returns the height, in pixels, of one character.
virtual void drawText(TFTPoint topLeft, TFTColor textColor, TFTColor bgColor, const char *string)=0
Draws monospace text.
virtual unsigned getTextWidth() const =0
Returns the width, in pixels, of one character.
virtual void initialize()=0
Initializes the display.
virtual unsigned getScreenHeight() const =0
Returns the height, in pixels, of the screen.
The position of a pixel on a TFT display, given in Cartesian coordinates.
Definition TFT.h:27