2 Replies Latest reply on Oct 12, 2011 3:19 AM by n0d

    PathGradient in Java, porting from .net, path gradient

    n0d
      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.