PFont

Data / Composite

Description

Datatype for storing fonts. Load with loadFont() or create with createFont().

Syntax

PFont font = loadFont("font.ttf") PFont* font = createFont("Arial", 24)

Parameters

None

Returns

PFont

Methods

PFont::list()Returns a vector of all available font names

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...