20. Effects and Blending

In this chapter, you see how to use the classes in the javafx.scene.effects and javafx.scene.effects.lighting packages, which implement graphical effects that you can use to enhance the appearance of your application. After discussing effects in general, the first part of this chapter describes 15 different effects that you can use to create blurs, shadows, warps, and various lighting effects. The second part describes the blending effect, which provides 19 different ways to combine two inputs, such as a node and another effect, to produce an output. The same 19 blending modes can also be applied to a group (and therefore also to a container) to control how the pixels for intersecting nodes are combined. The last part ...

Get JavaFX™ Developer’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.