Login  Register

Getting the current ROI

Posted by Paul Johnston on Jan 17, 2009; 12:00am
URL: http://imagej.273.s1.nabble.com/Getting-the-current-ROI-tp3694034.html

Sorry if this is a basic question:

How do I access the current Roi?  For example, if I do:

Toolbar.getInstance().setTool("line");

then wait for user to draw a line, I want to access the ij.gui.Line
within the mouseReleased() event.

Thanks,
Paul