MCPcopy Index your code
hub / github.com/processing/processing / textFont

Method textFont

core/src/processing/core/PGraphics.java:4278–4283  ·  view source on GitHub ↗

( begin auto-generated from textFont.xml ) Sets the current font that will be drawn with the text() function. Fonts must be loaded with loadFont() before it can be used. This font will be used in all subsequent calls to the text() function. If no size parameter is input,

(PFont which)

Source from the content-addressed store, hash-verified

4276 * @see PGraphics#textSize(float)
4277 */
4278 public void textFont(PFont which) {
4279 if (which == null) {
4280 throw new RuntimeException(ERROR_TEXTFONT_NULL_PFONT);
4281 }
4282 textFontImpl(which, which.getDefaultSize());
4283 }
4284
4285
4286 /**

Callers 2

reapplySettingsMethod · 0.95
styleMethod · 0.95

Calls 3

textFontImplMethod · 0.95
getDefaultSizeMethod · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected