(int... values)
| 754 | } |
| 755 | |
| 756 | private void polygon(int... values) { |
| 757 | Polygon p = new Polygon(); |
| 758 | int n = values.length/2; |
| 759 | for (int i=0; i<n; i++) |
| 760 | p.addPoint(values[i*2]*scale+xOffset, values[i*2+1]*scale+yOffset); |
| 761 | g.fillPolygon(p.xpoints, p.ypoints, p.npoints); |
| 762 | } |
| 763 | |
| 764 | private void resetButtons() { |
| 765 | for (int i=0; i<getNumTools(); i++) |
no test coverage detected