MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getDescent

Method getDescent

src/org/opensourcephysics/display/TextLine.java:483–489  ·  view source on GitHub ↗

@param g Graphics context. @return the descent of the parsed text.

(Graphics g)

Source from the content-addressed store, hash-verified

481 * @return the descent of the parsed text.
482 */
483 public int getDescent(Graphics g) {
484 if(g==null) {
485 return 0;
486 }
487 parseText(g);
488 return descent;
489 }
490
491 /**
492 * @param g Graphics context.

Callers 6

parseTextMethod · 0.45
getDescentMethod · 0.45
drawMethod · 0.45
drawOn3DMethod · 0.45
mainMethod · 0.45
showMethod · 0.45

Calls 1

parseTextMethod · 0.95

Tested by 2

mainMethod · 0.36
showMethod · 0.36