182183184185186187188189190191192
break; case TEXT: roi = new TextRoi(x, y, imagePlus); break; case POINT: roi = new PointRoi(x, y, imagePlus); break; } setRoi(roi, name, name, color, lineWidth); setRoi(roi1, name1, name, color, lineWidth);