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

Method isDrawingTool

ij/src/main/java/ij/gui/Roi.java:2366–2369  ·  view source on GitHub ↗

Returns 'true' if this is an ROI primarily used from drawing (e.g., TextRoi or Arrow).

()

Source from the content-addressed store, hash-verified

2364 /** Returns 'true' if this is an ROI primarily used from drawing
2365 (e.g., TextRoi or Arrow). */
2366 public boolean isDrawingTool() {
2367 //return cornerDiameter>0;
2368 return false;
2369 }
2370
2371 protected double getMagnification() {
2372 return ic!=null?ic.getMagnification():1.0;

Callers 4

fitRectangleMethod · 0.95
addSelectionMethod · 0.95
optionsMethod · 0.95
setRoiColorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected