22.1 Introduction

In this chapter, we continue our discussion of JavaFX from Chapters 12 and 13. Here, we present various JavaFX graphics and multimedia capabilities. You’ll:

  • Use external Cascading Style Sheets (CSS) to customize the appearance of JavaFX nodes.

  • Customize fonts and font attributes used to display text.

  • Display two-dimensional shapes, including lines, rectangles, circles, ellipses, arcs, polylines, polygons and custom paths.

  • Apply transforms to Nodes, such as rotating a Node around a particular point, scaling, translating (moving) and more.

  • Display video and control its playback (e.g., play, pause, stop, and skip to specific time).

  • Animate JavaFX Nodes with Transition and Timeline animations that change Node property values ...

Get Java How to Program, Early Objects, 11th Edition 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.