Changeset 9016 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2015-11-16T21:23:54+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r9008 r9016 467 467 Shape clip = g.getClip(); 468 468 g.clip(area); 469 g.setStroke(new BasicStroke(2 * extent ));469 g.setStroke(new BasicStroke(2 * extent, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)); 470 470 g.draw(area); 471 471 g.setClip(clip); … … 483 483 } else { 484 484 Shape clip = g.getClip(); 485 BasicStroke stroke = new BasicStroke(2 * extent );485 BasicStroke stroke = new BasicStroke(2 * extent, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER); 486 486 g.clip(stroke.createStrokedShape(area)); 487 487 g.fill(area);
Note:
See TracChangeset
for help on using the changeset viewer.