Posted by boomah
on October 31, 2008 at 9:55 AM PDT
Hi people. I've just started using JXLayer and am loving it!
I have a question though. I've got a lockable ui and I set locked effects to this:
new BufferedImageOpEffect(new ColorTintFilter(Color.GRAY, 0.5f));
It tints my panel to a grey colour and looks very nice. However, rather than just having a tinted rectangle, it would be nice if it could taper off at the edges. I guess I would like a gradient.
Is there a standard way of doing this? I can't seem to find one. If there isn't will I have to implement my own LocakableUI?
EDIT: Thinking more about it, I see there is a RadialGradientPaint in java6. How would I incorporate this into the JXLayer locked effect?
Message was edited by: boomah