FW: Macro function setLineWidth does not work properly with overlays
Posted by
AAM71 on
Oct 29, 2018; 9:40pm
URL: http://imagej.273.s1.nabble.com/FW-Macro-function-setLineWidth-does-not-work-properly-with-overlays-tp5021368.html
Dear Listers,
Recently I have found that macro function setLineWidth() does not work properly with overlays if I try to use value "1". In this case it reverts to line width set by double clicking on "Straight Line". If value is anything apart 1 then setLineWidth() works fine with Overlay.drawLine().
I am attaching the macro demonstrating the effect with Overlay.drawLine() in comparison with drawLine(). To see the effect, please, set first default line width (by double clicking on "Straight Line") to 1 and then to bigger number.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html