MCPcopy Create free account
hub / github.com/benfry/processing4 / textFont

Method textFont

core/src/processing/core/PApplet.java:12315–12318  ·  view source on GitHub ↗

Sets the current font that will be drawn with the text() function. Fonts must be created for Processing with createFont() or loaded with loadFont() before they can be used. The font set through textFont() will be used in all subsequent calls to the text() function.

(PFont which)

Source from the content-addressed store, hash-verified

12313 * @see PGraphics#textSize(float)
12314 */
12315 public void textFont(PFont which) {
12316 if (recorder != null) recorder.textFont(which);
12317 g.textFont(which);
12318 }
12319
12320
12321 /**

Callers 1

drawImplMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected