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

Method createDefaultFont

core/src/processing/core/PGraphics.java:4111–4114  ·  view source on GitHub ↗

Used by PGraphics to remove the requirement for loading a font.

(float size)

Source from the content-addressed store, hash-verified

4109 * Used by PGraphics to remove the requirement for loading a font.
4110 */
4111 protected PFont createDefaultFont(float size) {
4112 Font baseFont = new Font("Lucida Sans", Font.PLAIN, 1);
4113 return createFont(baseFont, size, true, null, false);
4114 }
4115
4116
4117 protected PFont createFont(String name, float size,

Callers 1

defaultFontOrDeathMethod · 0.95

Calls 1

createFontMethod · 0.95

Tested by

no test coverage detected