There is an effect in JavaFX that I have not seen to widely used – Blend Modes. These are used with Groups to blend together the contents or with the Blend effect. I have not personally used them too much…I usually use opacity instead. However, blending can be powerful…but I don’t think the documentation really does it justice for what each Blend Mode means. I whipped together this short applet to try to display the various modes.
I have a Group – the first element is the circle, the second the box. The circle moves around the box, changing from Red to Green to Yellow to Blue. I personally kind of like the Source In and Out – they’re kind of neat.
Anyway, that’s it for today. Hope you have a good weekend.
Hi,
on my pc the applet doesn’t start, complaining about unsigned entries (java console log follows):
…
Reading certificates from 343325 http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b28.jar | C:\Documents and Settings\alessio.spadaro\Application Data\Sun\Java\Deployment\cache\6.0\27\20d3eedb-17cdb27f.idx
exception: Found unsigned entry in resource: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b28.jar.
(Can’t report the full stacktrace as your site complains about spam)
Best,
Alessio
Forget it… as soon as the comment has been accepted, the problem disappears…
Best,
Alessio