Changeset 17564 in osm for applications
- Timestamp:
- 2009-09-09T17:44:27+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteLayer.java
r17542 r17564 1 1 package org.openstreetmap.josm.plugins.routes; 2 2 3 import java.awt.Stroke; 3 4 import java.awt.Color; 4 5 import java.awt.Component; … … 120 121 } 121 122 123 Stroke stroke = ((Graphics2D)g).getStroke(); 124 Color color = g.getColor(); 122 125 for (ConvertedWay way:pathBuilder.getConvertedWays()) { 123 126 pathPainter.drawWay(way, mv, (Graphics2D) g); 124 127 } 128 ((Graphics2D)g).setStroke(stroke); 129 g.setColor(color); 125 130 } 126 131
Note:
See TracChangeset
for help on using the changeset viewer.