ArduinoGraphics - beginText()

Description

Start the process of displaying and optionally scrolling text. The Print interface can be used to set the text.

Syntax

YourScreen.beginText()
YourScreen.beginText(x, y, r, g, b)
YourScreen.beginText(x, y, color)

Parameters

x: x position of the text y: y position of the text r: red color value (0 - 255) g: green color value (0 - 255) b: blue color value (0 - 255) color: 24-bit RGB color, 0xrrggbb

Returns

Nothing

Example

YourScreen.beginText(0, 0, 127, 0, 0);
YourScreen.print("Hi");
YourScreen.endText();