comparison src/java/de/intevation/mxd/writer/FillStyleWriter.java @ 131:cd18c61cbcf6

Do not write lines or outlines if their width is smaller than 1.0.
author vc11884admin@VC11884.win.bsh.de
date Mon, 20 Jun 2011 17:41:55 +0200
parents 3c792458a716
children b2c5a66022f1
comparison
equal deleted inserted replaced
130:5991c1f90f91 131:cd18c61cbcf6
118 */ 118 */
119 private void writeOutline(Element symbolElement) { 119 private void writeOutline(Element symbolElement) {
120 logger.debug("writeOutline()"); 120 logger.debug("writeOutline()");
121 //write transparent outline 121 //write transparent outline
122 colorObj color = new colorObj(-1, -1, -1, -4); 122 colorObj color = new colorObj(-1, -1, -1, -4);
123 123 if(symbolElement.hasAttribute("width")) {
124 double w = Double.parseDouble(symbolElement.getAttribute("width"));
125 if (w < 1.0) {
126 return;
127 }
128 }
124 //write new style for the outline 129 //write new style for the outline
125 //TODO write further attribute like pattern etc. 130 //TODO write further attribute like pattern etc.
126 Color oCol = Color.decode( 131 Color oCol = Color.decode(
127 symbolElement.getAttribute("color")); 132 symbolElement.getAttribute("color"));
128 133
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)