Hello, I've found a bug when using gradients using Colors with alpha-values. LinearGradientPaint, GradientPaint and RadialGradientPaint are all affected.
The cause for this bug is easily found in the SVGGraphics2D.java class and the methods getLinearGradientElement for respective paint type listed above.
Im happy to help and fix this bug if needed.
Kind Regards
Jon
GradientPaint with alpha colors bug
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: GradientPaint with alpha colors bug
Hi Jon,
I didn't have time to look yet, but any help to fix this would be welcome. I'm sure it won't be too difficult to fix...I'll try to look at the weekend.
I didn't have time to look yet, but any help to fix this would be welcome. I'm sure it won't be too difficult to fix...I'll try to look at the weekend.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program