Login  Register

Overlay Stroke Color does not change

Posted by ERIC on Feb 03, 2015; 3:23pm
URL: http://imagej.273.s1.nabble.com/Overlay-Stroke-Color-does-not-change-tp5011421.html

Hi All,
I am trying to get a multicolor overlay using the macro code :

width=10;
color=("green");
run("Add Selection...", "width="+width+" stroke="+color);

  The width can be changed but the color is always red.
I am not able neither to get transparency using : color=("#77990000")
for exemple
I found the code in a macro from
http://rsbweb.nih.gov/ij/macros/Merz_grid.txt.
I am using imageJ 1.49m2.

Any Idea ?




--

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France


Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57

http://neurosciences.ujf-grenoble.fr/

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