Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java @ 150:7b1433d3b574
Handle outlines with width < 1 and transparent color.
author | vc11884admin@VC11884.win.bsh.de |
---|---|
date | Wed, 29 Jun 2011 19:29:14 +0200 |
parents | a4ab239509f1 |
children | f4eb506499f5 |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java Wed Jun 29 17:59:52 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java Wed Jun 29 19:29:14 2011 +0200 @@ -80,6 +80,9 @@ color.getGreen(), color.getBlue()); symbolElement.setAttribute("color", String.valueOf(c.getRGB())); + symbolElement.setAttribute( + "transparency", + String.valueOf(c.getTransparency())); } else { RgbColor col = new RgbColor(); @@ -89,6 +92,9 @@ col.getGreen(), col.getBlue()); symbolElement.setAttribute("color", String.valueOf(c.getRGB())); + symbolElement.setAttribute( + "transparency", + String.valueOf(c.getTransparency())); } } catch(IOException ioe) {