textMode()

Typography / Attributes

Description

Sets the way text draws to the screen, either as texture maps or as vector geometry.

Syntax

void textMode(int mode)

Parameters

NameTypeDescription
modeintMODEL or SHAPE

Returns

void

Related

Under the Hood

From Processing.h:

void textMode(int mode);

Under the Hood

From Processing.cpp:

void PApplet::textMode(int) {}