()
| 68 | } |
| 69 | |
| 70 | private void drawCrosses() { |
| 71 | GeneralPath path = new GeneralPath(); |
| 72 | double arm = crossSize*tileWidth; |
| 73 | if (arm<3) arm=3; |
| 74 | for(int h=0; h<linesV; h++) { |
| 75 | for(int v=0; v<linesH; v++) { |
| 76 | double x = xstart+h*tileWidth; |
| 77 | double y = ystart+v*tileHeight; |
| 78 | path.moveTo(x-arm, y); |
| 79 | path.lineTo(x+arm, y); |
| 80 | path.moveTo(x, y-arm); |
| 81 | path.lineTo(x, y+arm); |
| 82 | } |
| 83 | } |
| 84 | drawGrid(path); |
| 85 | } |
| 86 | |
| 87 | private void drawLines() { |
| 88 | GeneralPath path = new GeneralPath(); |