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

Method handleTextSize

core/src/processing/core/PGraphics.java:4478–4481  ·  view source on GitHub ↗

Sets the actual size. Called from textSizeImpl and from textFontImpl after setting the font. @param size size of the text, greater than zero

(float size)

Source from the content-addressed store, hash-verified

4476 * @param size size of the text, greater than zero
4477 */
4478 protected void handleTextSize(float size) {
4479 textSize = size;
4480 textLeading = (textAscent() + textDescent()) * 1.275f;
4481 }
4482
4483
4484 // ........................................................

Callers 4

textFontImplMethod · 0.95
textSizeImplMethod · 0.95
textFontImplMethod · 0.45
textSizeImplMethod · 0.45

Calls 2

textAscentMethod · 0.95
textDescentMethod · 0.95

Tested by

no test coverage detected