Login  Register

overlay string

Posted by Frank Sprenger on Mar 27, 2011; 9:47am
URL: http://imagej.273.s1.nabble.com/overlay-string-tp3685260.html

Hello,

I want to add text to an overlay using the
Overlay.drawString("text", x, y)
command. However, this command only works when an overlay already exists. Is there a command that creates an overlay (without adding anything to the overlay) so that Overlay.drawString("text", x, y)  can put text into the overlay?

Thanks
Frank