Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/LineFillSymbolReader.java @ 97:18e4f143896b
Added polygon writer.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 06 Jun 2011 17:24:43 +0200 |
parents | 59e06c405a9a |
children | fb93f20478cc |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/LineFillSymbolReader.java Wed Jun 01 14:21:24 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/LineFillSymbolReader.java Mon Jun 06 17:24:43 2011 +0200 @@ -74,6 +74,7 @@ symbolElement.setAttribute( "separation", String.valueOf(symbol.getSeparation())); + symbolElement.setAttribute("angle", String.valueOf(symbol.getAngle())); if(symbol.getColor() instanceof IRgbColor) { IRgbColor color = (IRgbColor)symbol.getColor(); @@ -112,6 +113,7 @@ ILineSymbol ls = symbol.getLineSymbol(); LineSymbolReader lsr = new LineSymbolReader(); if(lsr.canRead(ls)) { + symbolElement.setAttribute("hatch", "1"); lsr.setSymbol(ls); lsr.setUtil(util); lsr.setParent(symbolElement);