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

Method setFontSize

ij/src/main/java/ij/gui/Plot.java:1243–1245  ·  view source on GitHub ↗

Sets the font size for all following addLabel() etc. operations. The currently set font when displaying the plot determines the font of all labels & numbers. After the plot has been shown, sets the font for the numbers and the legend (if present). If the plot is hown already, call update() thereaft

(int size)

Source from the content-addressed store, hash-verified

1241 * After the plot has been shown, sets the font for the numbers and the legend (if present).
1242 * If the plot is hown already, call update() thereafter to make the change visible. */
1243 public void setFontSize(int size) {
1244 setFont(-1, (float)size);
1245 }
1246
1247 /** Sets the font for all following addLabel() etc. operations. The currently set font when
1248 * displaying the plot determines the font of all labels & numbers.

Callers

nothing calls this directly

Calls 1

setFontMethod · 0.95

Tested by

no test coverage detected