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

Method setLineWidth

ij/src/main/java/ij/macro/Functions.java:444–451  ·  view source on GitHub ↗
(int width)

Source from the content-addressed store, hash-verified

442 }
443
444 private void setLineWidth(int width) {
445 if (WindowManager.getCurrentImage()!=null) {
446 if (overlayPath!=null && width!=globalLineWidth)
447 addDrawingToOverlay(getImage());
448 getProcessor().setLineWidth(width);
449 }
450 globalLineWidth = width;
451 }
452
453 private double doMath() {
454 interp.getToken();

Callers 2

doFunctionMethod · 0.95
setForegroundColorMethod · 0.95

Calls 5

getCurrentImageMethod · 0.95
addDrawingToOverlayMethod · 0.95
getImageMethod · 0.95
getProcessorMethod · 0.95
setLineWidthMethod · 0.65

Tested by

no test coverage detected