Returns the font, or null if none specified
()
| 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") |