Changeset 9065 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-11-28T16:26:56+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r9063 r9065 458 458 /** 459 459 * Worker function for drawing areas. 460 * 460 * 461 461 * @param osm the primitive 462 462 * @param path the path object for the area that should be drawn; in case … … 470 470 * @param unclosedHighlight true, if the fact that the way / multipolygon is not 471 471 * properly closed should be highlighted; this parameter is only used 472 * for partial fill ({@code extent != null}), otherwise it is ignored 472 * for partial fill ({@code extent != null}), otherwise it is ignored 473 473 * @param disabled If this should be drawn with a special disabled style. 474 474 * @param text The text to write on the area. … … 490 490 } else { 491 491 if (unclosedHighlight) { 492 g.setStroke(new BasicStroke((int) (unclosedAreaHighlightWidth / 100 * extent),492 g.setStroke(new BasicStroke((int) (unclosedAreaHighlightWidth / 100 * extent), 493 493 BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)); 494 494 g.draw(area); … … 513 513 } else { 514 514 if (unclosedHighlight) { 515 g.setStroke(new BasicStroke((int) (unclosedAreaHighlightWidth / 100 * extent),515 g.setStroke(new BasicStroke((int) (unclosedAreaHighlightWidth / 100 * extent), 516 516 BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)); 517 517 g.draw(area);
Note:
See TracChangeset
for help on using the changeset viewer.