Revision 5908 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/RectangleCADTool.java
RectangleCADTool.java | ||
---|---|---|
127 | 127 |
elShape.lineTo(lastPoint.getX(), firstPoint.getY()); |
128 | 128 |
elShape.lineTo(lastPoint.getX(), lastPoint.getY()); |
129 | 129 |
elShape.lineTo(firstPoint.getX(), lastPoint.getY()); |
130 |
//elShape.lineTo(firstPoint.getX(), firstPoint.getY());
|
|
130 |
elShape.lineTo(firstPoint.getX(), firstPoint.getY()); |
|
131 | 131 |
elShape.closePath(); |
132 | 132 |
addGeometry(ShapeFactory.createPolyline2D(elShape)); |
133 | 133 |
firstPoint = (Point2D) lastPoint.clone(); |
Also available in: Unified diff