Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
parseText
Method · 0.95
Calls
2
getLeading
Method · 0.45
getFontMetrics
Method · 0.45
Tested by
no test coverage detected