Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

Chapter 10 ■ User InterfaCe DesIgn InteraCtIvIty: event hanDlIng anD ImagIng effeCts


Figure 10-15. Add a .setEffect(colorAdjust) method call off logoLayer and call .setHue(-0.4) to change the
color shift


Figure 10-16. Use the Run ➤ Project work process and make sure that the drop shadow effect is rendering
correctly

Free download pdf