Changeset 1282 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-01-17T19:58:59+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r1277 r1282 678 678 if(isPolygonVisible(pd.get())) 679 679 { 680 drawArea (pd.way, (pd.way.selected || r.selected) ? selectedColor680 drawAreaPolygon(pd.get(), (pd.way.selected || r.selected) ? selectedColor 681 681 : ((AreaElemStyle)wayStyle).color); 682 682 visible = true; … … 773 773 Polygon polygon = getPolygon(w); 774 774 775 // set the opacity (alpha) level of the filled polygon 776 g.setColor(new Color(color.getRed(), color.getGreen(), color.getBlue(), fillAlpha)); 777 g.fillPolygon(polygon); 778 } 779 780 protected void drawAreaPolygon(Polygon polygon, Color color) 781 { 775 782 // set the opacity (alpha) level of the filled polygon 776 783 g.setColor(new Color(color.getRed(), color.getGreen(), color.getBlue(), fillAlpha));
Note:
See TracChangeset
for help on using the changeset viewer.