17. Coordinates, Transforms, and Layout

In the last few chapters, you have been introduced to the concept of a scene graph, and you have seen many of the types of nodes that are provided by the JavaFX runtime. The first part of this chapter is concerned with transforms, which enable you to move, resize, and rotate a node. This chapter examines and illustrates all the available transforms, with the exception of the perspective transform, which is discussed in Chapter 20, “Effects and Blending.” Transforms cause the bounds (that is, the size/position) of a node to change. In the second half of this chapter, we discuss coordinate systems and the various different bounds that are associated with a node.

The third part of this chapter discusses the ...

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.