Login  Register

Re: FW: Macro function setLineWidth does not work properly with overlays

Posted by AAM71 on Oct 30, 2018; 3:49pm
URL: http://imagej.273.s1.nabble.com/FW-Macro-function-setLineWidth-does-not-work-properly-with-overlays-tp5021368p5021376.html

Dear Listers,

Should I report it as a bug? Any suggestions to resolve this? My several
macros depend on setting line width for Overlays.

Sincerely,

Alex Mironov


On 29/10/2018 21:40, Aleksandr Mironov wrote:

> 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

--
Dr. Aleksandr Mironov MD, PhD
Senior Experimental Officer
D.1527, M.Smith Building
EM Core Facility
School of Biological Sciences,
Faculty of Biology Medicine and Health
University of Manchester
Oxford Road
Manchester
M13 9PT
UK

Tel. +44-(0)161-275-5645
E-mail: [hidden email]
https://www.bmh.manchester.ac.uk/research/facilities/electron-microscopy/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html