MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / setFont

Method setFont

ij/src/main/java/ij/plugin/frame/Editor.java:1748–1750  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1746 }
1747
1748 void setFont() {
1749 ta.setFont(new Font(getFontName(), Font.PLAIN, (int) (sizes[fontSizeIndex] * Prefs.getGuiScale())));
1750 }
1751
1752 String getFontName() {
1753 return monospaced.getState()?"Monospaced":"SansSerif";

Callers 3

EditorMethod · 0.95
itemStateChangedMethod · 0.95
changeFontSizeMethod · 0.95

Calls 3

getFontNameMethod · 0.95
getGuiScaleMethod · 0.95
setFontMethod · 0.65

Tested by

no test coverage detected