ArduinoGraphics - textFont()

Description

Sets the font used for text. The library current has the Font_4x6 and Font_5x7 built in.

Syntax

YourScreen.textFont(font)

Parameters

font: font to set

Returns

Nothing

Example

YourScreen.beginDraw();
YourScreen.clear();
YourScreen.stroke(255, 255, 255);
YourScreen.textFont(Font_5x7);
YourScreen.text("abc", 0, 1);
YourScreen.endDraw();