image
Chapter 5
Creating Shapes
Key Skills & Concepts
   Drawing lines to the screen
   Working with the context menu
   Creating complex shapes
image
In this chapter, you learn how to draw shapes to the screen. Shapes add interest and dimension to your applications. You will start by learning how to draw a basic line. From there, you will move on to rectilinear shapes. From these basic rectilinear shapes, you will move on to polygons and curvilinear shapes.
NOTE
If you are interested in game development or other animation-based media, polygons are very ...

Get Quick Start Guide to JavaFX 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.