I am porting an application from .NET to Java
There is a class PathGradientBrush in .NET which takes center, colors etc to draw the gradient.
I couldn't find anything similar in Java.
But I have found the RadialGradientPaint and LinearGradientPaint classes.
I guess it won't work in my case if I'd like to have a rectangle instead of circles.
Could you advice me any opensource implementation of PathGradient or something else.
I would highly appreciate any help.