Changeset 23752 in osm for applications/editors/josm/plugins/ElevationProfile/src
- Timestamp:
- 2010-10-22T20:35:03+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/gui/ElevationProfilePanel.java
r23751 r23752 272 272 if (yLine <= getPlotBottom() && yLine >= getPlotTop()) { 273 273 String txt = String.format("%dm", i); 274 275 g.setColor(Color.BLACK); 274 276 275 Rectangle r = drawAlignedString(txt, getPlotHCenter(), yLine - 2, 277 276 TextAlignment.Right, g); … … 283 282 g.drawLine(r.x + r.width, yLine, getPlotRight(), 284 283 yLine); 285 // Draw label 284 // Draw label with shadow 285 g.setColor(Color.WHITE); 286 drawAlignedString(txt, getPlotHCenter() + 1, yLine - 1, 287 TextAlignment.Right, g); 288 g.setColor(Color.BLACK); 286 289 drawAlignedString(txt, getPlotHCenter(), yLine - 2, 287 290 TextAlignment.Right, g);
Note:
See TracChangeset
for help on using the changeset viewer.