- Timestamp:
- 2020-03-28T09:34:21+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r15586 r16208 425 425 * Worker function for drawing areas. 426 426 * 427 * @param paththe path object for the area that should be drawn; in case427 * @param area the path object for the area that should be drawn; in case 428 428 * of multipolygons, this can path can be a complex shape with one outer 429 429 * polygon and one or more inner polygons … … 437 437 * @param disabled If this should be drawn with a special disabled style. 438 438 */ 439 protected void drawArea(MapViewPath path, Color color,439 protected void drawArea(MapViewPath area, Color color, 440 440 MapImage fillImage, Float extent, MapViewPath pfClip, boolean disabled) { 441 441 if (!isOutlineOnly && color.getAlpha() != 0) { 442 Shape area = path;443 442 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); 444 443 if (fillImage == null) { … … 457 456 Logging.warn("Unable to get image from " + fillImage); 458 457 } 459 Float alpha = fillImage.getAlphaFloat();458 float alpha = fillImage.getAlphaFloat(); 460 459 if (!Utils.equalsEpsilon(alpha, 1f)) { 461 460 g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha));
Note:
See TracChangeset
for help on using the changeset viewer.