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

Method setup

ij/src/main/java/ij/plugin/filter/Printer.java:22–28  ·  view source on GitHub ↗
(String arg, ImagePlus imp)

Source from the content-addressed store, hash-verified

20 private static int fontSize = 12;
21
22 public int setup(String arg, ImagePlus imp) {
23 if (arg.equals("setup"))
24 {pageSetup(); return DONE;}
25 this.imp = imp;
26 IJ.register(Printer.class);
27 return DOES_ALL+NO_CHANGES;
28 }
29
30 public void run(ImageProcessor ip) {
31 print(imp);

Callers

nothing calls this directly

Calls 3

pageSetupMethod · 0.95
registerMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected