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

Method getWidth

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

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

(Graphics g)

Source from the content-addressed store, hash-verified

439 * @return the width of the parsed text.
440 */
441 public int getWidth(Graphics g) {
442 parseText(g);
443 return width;
444 }
445
446 /**
447 * @param g Graphics context.

Callers

nothing calls this directly

Calls 1

parseTextMethod · 0.95

Tested by

no test coverage detected