Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/HashLineSymbolReader.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 |
comparison
equal
deleted
inserted
replaced
96:c285ed08b72c | 97:18e4f143896b |
---|---|
65 throws Exception { | 65 throws Exception { |
66 logger.debug("read()"); | 66 logger.debug("read()"); |
67 Element symbolElement = util.addSymbol(parent); | 67 Element symbolElement = util.addSymbol(parent); |
68 | 68 |
69 symbolElement.setAttribute("name", symbol.getNameString()); | 69 symbolElement.setAttribute("name", symbol.getNameString()); |
70 symbolElement.setAttribute("style", "line"); | 70 symbolElement.setAttribute("type", "line"); |
71 symbolElement.setAttribute("style", "hash"); | |
71 if(symbol.getColor() instanceof IRgbColor) { | 72 if(symbol.getColor() instanceof IRgbColor) { |
72 IRgbColor color = (IRgbColor)symbol.getColor(); | 73 IRgbColor color = (IRgbColor)symbol.getColor(); |
73 Color c = new Color ( | 74 Color c = new Color ( |
74 color.getRed(), | 75 color.getRed(), |
75 color.getGreen(), | 76 color.getGreen(), |