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

Method getLeading

src/org/opensourcephysics/display/TextLine.java:1072–1077  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

1070 }
1071
1072 public int getLeading(Graphics g) {
1073 if((g==null)||(f==null)) {
1074 return 0;
1075 }
1076 return g.getFontMetrics(f).getLeading();
1077 }
1078
1079}
1080

Callers 1

parseTextMethod · 0.95

Calls 2

getLeadingMethod · 0.45
getFontMetricsMethod · 0.45

Tested by

no test coverage detected