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

Method run

ij/src/main/java/ij/plugin/filter/Filler.java:61–74  ·  view source on GitHub ↗
(ImageProcessor ip)

Source from the content-addressed store, hash-verified

59 }
60
61 public void run(ImageProcessor ip) {
62 if (arg.equals("clear"))
63 clear(ip);
64 else if (isTextRoi && (arg.equals("draw") || arg.equals("fill")))
65 draw(ip);
66 else if (arg.equals("fill"))
67 fill(ip);
68 else if (arg.equals("draw"))
69 draw(ip);
70 else if (arg.equals("label"))
71 label(ip);
72 else if (arg.equals("outside"))
73 clearOutside(ip);
74 }
75
76 boolean isLineSelection() {
77 return roi!=null && roi.isLine();

Callers

nothing calls this directly

Calls 6

clearMethod · 0.95
drawMethod · 0.95
fillMethod · 0.95
labelMethod · 0.95
clearOutsideMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected