comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java @ 4434:60c728e557f4

Backed out changeset e8a4d2fd25cc
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 07 Nov 2012 12:28:50 +0100
parents e8a4d2fd25cc
children d70284c92728
comparison
equal deleted inserted replaced
4432:e8a4d2fd25cc 4434:60c728e557f4
86 Color paint = ThemeUtil.parseColor( 86 Color paint = ThemeUtil.parseColor(
87 ThemeUtil.getBackgroundColorString(theme)); 87 ThemeUtil.getBackgroundColorString(theme));
88 88
89 int transparency = ThemeUtil.parseTransparency(theme); 89 int transparency = ThemeUtil.parseTransparency(theme);
90 if (transparency > 0) { 90 if (transparency > 0) {
91 if (paint == null) paint = new Color(30,30,30);
92 paint = new Color( 91 paint = new Color(
93 paint.getRed(), 92 paint.getRed(),
94 paint.getGreen(), 93 paint.getGreen(),
95 paint.getBlue(), 94 paint.getBlue(),
96 (int)((100 - transparency) * 2.55f)); 95 (int)((100 - transparency) * 2.55f));

http://dive4elements.wald.intevation.org