comparison src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java @ 106:609c234e8e23

merged with reimunds changes
author Stephan Holl <stephan.holl@intevation.de>
date Tue, 07 Jun 2011 15:50:43 +0200
parents 18e4f143896b
children fb93f20478cc
comparison
equal deleted inserted replaced
105:db18c1b33936 106:609c234e8e23
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)