Chapter 7Applying Effects and Transformations

Key Skills & Concepts

• Applying effects to shapes and images

• Moving images in an application

• Rotating images and shapes

In Chapter 6 you learned how to write images to the screen using the FXDNode and ImageView nodes. In Chapter 4 you learned how to create different shapes and place them around your application. In this chapter you begin to apply effects and transitions to these images and shapes.

The first section of this chapter covers effects. JavaFX has a comprehensive list of effects you can apply to many objects within your scripts. These effects have a stunning impact on your applications and can be used to create almost any desired look or feel.

NOTE

As of the 1.3 release of JavaFX, ...

Get JavaFX A Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.