Revision 11437 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/PolygonCADTool.java

View differences:

PolygonCADTool.java
153 153
        if (status.equals("Polygon.OptionOrRadiusOrPoint") ||
154 154
                status.equals("Polygon.RadiusOrPoint")) {
155 155
            Point2D point = new Point2D.Double(x, y);
156
            drawLine((Graphics2D) g, center, point);
156
            drawLine((Graphics2D) g, center, point,DefaultCADTool.geometrySelectSymbol);
157 157

  
158 158
            if (isI) {
159 159
                getIPolygon(point, point.distance(center)).draw((Graphics2D) g,
160 160
                    getCadToolAdapter().getMapControl().getViewPort(),
161
                    DefaultCADTool.drawingSymbol);
161
                    DefaultCADTool.geometrySelectSymbol);
162 162
            } else {
163 163
                getCPolygon(point, point.distance(center)).draw((Graphics2D) g,
164 164
                    getCadToolAdapter().getMapControl().getViewPort(),
165
                    DefaultCADTool.drawingSymbol);
165
                    DefaultCADTool.geometrySelectSymbol);
166 166
            }
167 167

  
168 168
            ShapeFactory.createCircle(center, point.distance(center)).draw((Graphics2D) g,
169 169
                getCadToolAdapter().getMapControl().getViewPort(),
170
                DefaultCADTool.modifySymbol);
170
                DefaultCADTool.axisReferencesSymbol);
171 171
        }
172 172
    }
173 173

  

Also available in: Unified diff