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

Method setFont

ij/src/main/java/ij/gui/TextRoi.java:356–359  ·  view source on GitHub ↗

Sets the current font.

(Font font)

Source from the content-addressed store, hash-verified

354
355 /** Sets the current font. */
356 public void setFont(Font font) {
357 this.font = font;
358 updateBounds();
359 }
360
361 /** Sets the size of the current font. */
362 public void setFontSize(int size) {

Callers 1

dialogItemChangedMethod · 0.95

Calls 6

updateBoundsMethod · 0.95
getCurrentImageMethod · 0.95
getRoiMethod · 0.95
setAntiAliasMethod · 0.95
drawMethod · 0.95
setCurrentFontMethod · 0.80

Tested by

no test coverage detected