Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 2033:76cedac30d35
Store additional Parameter in AreaArtifact (paint everything between curve a and b?).
flys-artifacts/trunk@3498 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 20 Dec 2011 15:12:11 +0000 |
parents | 4f7f781e4481 |
children | 3f6b519300ec |
comparison
equal
deleted
inserted
replaced
2032:5746c74c69cf | 2033:76cedac30d35 |
---|---|
198 else if (up != null && down == null) { | 198 else if (up != null && down == null) { |
199 area.setMode(StyledAreaSeriesCollection.FILL_MODE.UNDER); | 199 area.setMode(StyledAreaSeriesCollection.FILL_MODE.UNDER); |
200 area.addSeries(up); | 200 area.addSeries(up); |
201 } | 201 } |
202 else if (up != null && down != null) { | 202 else if (up != null && down != null) { |
203 area.setMode(StyledAreaSeriesCollection.FILL_MODE.BETWEEN); | 203 if (doubles[2] != null && ((Boolean)doubles[2]).booleanValue()) { |
204 area.setMode(StyledAreaSeriesCollection.FILL_MODE.BETWEEN); | |
205 } | |
206 else { | |
207 area.setMode(StyledAreaSeriesCollection.FILL_MODE.ABOVE); | |
208 } | |
204 area.addSeries(up); | 209 area.addSeries(up); |
205 area.addSeries(down); | 210 area.addSeries(down); |
206 } | 211 } |
207 addAreaSeries(area, 0, visible); | 212 addAreaSeries(area, 0, visible); |
208 } | 213 } |