Revision 11437 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/ArcCADTool.java
ArcCADTool.java | ||
---|---|---|
145 | 145 |
String status = actualState.getName(); |
146 | 146 |
|
147 | 147 |
if (status.equals("Arc.SecondPoint")) { |
148 |
drawLine((Graphics2D) g, p1, new Point2D.Double(x, y)); |
|
148 |
drawLine((Graphics2D) g, p1, new Point2D.Double(x, y),geometrySelectSymbol);
|
|
149 | 149 |
} else if (status.equals("Arc.ThirdPoint")) { |
150 | 150 |
Point2D current = new Point2D.Double(x, y); |
151 | 151 |
IGeometry ig = ShapeFactory.createArc(p1, p2, current); |
... | ... | |
153 | 153 |
if (ig != null) { |
154 | 154 |
ig.draw((Graphics2D) g, |
155 | 155 |
getCadToolAdapter().getMapControl().getViewPort(), |
156 |
DefaultCADTool.modifySymbol);
|
|
156 |
DefaultCADTool.geometrySelectSymbol);
|
|
157 | 157 |
} |
158 | 158 |
|
159 | 159 |
Point2D p = getCadToolAdapter().getMapControl().getViewPort() |
Also available in: Unified diff