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

Method defaultStrokeWidth

ij/src/main/java/ij/gui/Roi.java:1417–1425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1415 }
1416
1417 private static double defaultStrokeWidth() {
1418 double defaultWidth = defaultStrokeWidth;
1419 double guiScale = Prefs.getGuiScale();
1420 if (defaultWidth<=1 && guiScale>1.0) {
1421 defaultWidth = guiScale;
1422 if (defaultWidth<1.5) defaultWidth = 1.5;
1423 }
1424 return defaultWidth;
1425 }
1426
1427 /** Returns the current handle size. */
1428 public int getHandleSize() {

Callers 2

RoiMethod · 0.95
updateClipRectMethod · 0.95

Calls 1

getGuiScaleMethod · 0.95

Tested by

no test coverage detected