public void drawPolygons(Symbolizer symbolizer) { AdvancedStyle astyle = new AdvancedStyle(); astyle.dashed = symbolizer.dashed; astyle.decimationFactor = symbolizer.decimationFactor; astyle.fillalpha = symbolizer.fillalpha; astyle.fillcolor = symbolizer.fillcolor; astyle.shape = symbolizer.shape; astyle.strokealpha = symbolizer.strokealpha; astyle.strokecolor = symbolizer.strokecolor; astyle.size = symbolizer.size; astyle.textfield = symbolizer.textfield; astyle.textsize = symbolizer.textsize; astyle.width = symbolizer.width; this.drawPolygons(astyle); }
public void drawLines(Symbolizer symbolizer, byte currentZoomLevel) { AdvancedStyle astyle = new AdvancedStyle(); astyle.dashed = symbolizer.dashed; astyle.decimationFactor = symbolizer.decimationFactor; astyle.fillalpha = symbolizer.fillalpha; astyle.fillcolor = symbolizer.fillcolor; astyle.shape = symbolizer.shape; astyle.strokealpha = symbolizer.strokealpha; astyle.strokecolor = symbolizer.strokecolor; astyle.size = symbolizer.size; astyle.textfield = symbolizer.textfield; astyle.textsize = symbolizer.textsize; astyle.textfillcolor = symbolizer.textfillcolor; astyle.textstrokecolor = symbolizer.textstrokecolor; astyle.width = symbolizer.width; astyle.label_minZoom = symbolizer.label_minZoom; this.drawLines(astyle, currentZoomLevel); }