comparison src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.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
63 throws Exception { 63 throws Exception {
64 logger.debug("read()"); 64 logger.debug("read()");
65 Element symbolElement = util.addSymbol(parent); 65 Element symbolElement = util.addSymbol(parent);
66 66
67 symbolElement.setAttribute("name", symbol.getNameString()); 67 symbolElement.setAttribute("name", symbol.getNameString());
68 symbolElement.setAttribute("style", "line"); 68 symbolElement.setAttribute("type", "line");
69 symbolElement.setAttribute("type", "simple"); 69 symbolElement.setAttribute("style", "simple");
70 if(symbol.getColor() instanceof IRgbColor) { 70 if(symbol.getColor() instanceof IRgbColor) {
71 IRgbColor color = (IRgbColor)symbol.getColor(); 71 IRgbColor color = (IRgbColor)symbol.getColor();
72 Color c = new Color ( 72 Color c = new Color (
73 color.getRed(), 73 color.getRed(),
74 color.getGreen(), 74 color.getGreen(),
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)