setCtlFont

Syntax

void setCtlFont(int size, float rotation, bool bold, bool italic, char* font)

Arguments

size
Size in units
rotation
Rotation angle in radians.
bold
Use a bold style.
italic
Use a italic style.
font
The name of the font. i.e. "Arial".

Description

Set the font to use for `setText` and `setTextV`.

Example

setFont(10, 0, false, false, "Arial");

Also see

setText, (setTextV)?