comparison src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java @ 97:18e4f143896b

Added polygon writer.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 06 Jun 2011 17:24:43 +0200
parents 2362609ffa66
children fb93f20478cc
comparison
equal deleted inserted replaced
96:c285ed08b72c 97:18e4f143896b
66 // XML Element. 66 // XML Element.
67 logger.debug("read()"); 67 logger.debug("read()");
68 Element symbolElement = util.addSymbol(parent); 68 Element symbolElement = util.addSymbol(parent);
69 69
70 symbolElement.setAttribute("name", symbol.getNameString()); 70 symbolElement.setAttribute("name", symbol.getNameString());
71 symbolElement.setAttribute("type", "line");
71 symbolElement.setAttribute("style", "picture"); 72 symbolElement.setAttribute("style", "picture");
72 if(symbol.getColor() instanceof IRgbColor) { 73 if(symbol.getColor() instanceof IRgbColor) {
73 IRgbColor color = (IRgbColor)symbol.getColor(); 74 IRgbColor color = (IRgbColor)symbol.getColor();
74 Color c = new Color ( 75 Color c = new Color (
75 color.getRed(), 76 color.getRed(),
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)