Login  Register

Can a newline character be used in a text overlay?

Posted by Neil Fazel on Jun 30, 2014; 3:46pm
URL: http://imagej.273.s1.nabble.com/Can-a-newline-character-be-used-in-a-text-overlay-tp5008494.html

Is there a way to insert a new line in a text overlay? For example:

Overlay.drawString("Al\n75um", x, y);

I'm doing this on Mac and I find that newline characters are ignored.

Thanks,
Neil

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