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

Method getFont

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

Returns the font, or null if none specified

()

Source from the content-addressed store, hash-verified

4896
4897 /** Returns the font, or null if none specified */
4898 @AstroImageJ(reason = "Implement IPlotObject for Vector Plot saving", modified = true)
4899 public Font getFont() {
4900 if (font == null && fontFamily != null) //after recovery from serialization, create the font from its description
4901 font = FontUtil.getFont(fontFamily, flags&FONT_STYLE_MASK, fontSize);
4902 return font;
4903 }
4904
4905 /** Returns the font size */
4906 @AstroImageJ(reason = "Widen Access to implement IPlotObject for Vector Plot saving")

Callers 1

getFontMethod · 0.95

Calls 1

getFontMethod · 0.95

Tested by

no test coverage detected