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

Method scFont

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

Scales a font of the original plot for a high-resolution plot.

(Font font)

Source from the content-addressed store, hash-verified

2043
2044 /** Scales a font of the original plot for a high-resolution plot. */
2045 @AstroImageJ(reason = "Access widen for Vector Plot saving", modified = true)
2046 public Font scFont(Font font) {
2047 float size = font.getSize2D();
2048 return scale==1 ? font : font.deriveFont(size*scale);
2049 }
2050
2051 /** Returns whether the plot requires color (not grayscale) */
2052 boolean isColored() {

Callers 9

getBlankProcessorMethod · 0.95
drawPlotObjectMethod · 0.95
drawShapeMethod · 0.95
drawLegendMethod · 0.95
drawPlotObjectMethod · 0.80
drawLegendMethod · 0.80
drawShapeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected