(Roi roi, int x, int y)
| 139 | } |
| 140 | |
| 141 | private boolean contains(Roi roi, int x, int y) { |
| 142 | if (roi==null) return false; |
| 143 | if (roi instanceof Line) |
| 144 | return (((Line)roi).getFloatPolygon(10)).contains(x,y); |
| 145 | else |
| 146 | return roi.contains(x,y); |
| 147 | } |
| 148 | |
| 149 | /** Returns 'true' if this Overlay contains the specified ROI. */ |
| 150 | public boolean contains(Roi roi) { |
no test coverage detected