2 Replies Latest reply: Oct 11, 2011 10:19 PM by n0d RSS

    PathGradient in Java, porting from .net, path gradient

      Hi everyone.

      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.