O'Reilly logo

Learn JavaFX 8: Building User Experience and Interfaces with Java 8 by Kishori Sharan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 21

image

Understanding Transformations

In this chapter, you will learn:

  • What a transformation is
  • What are translation, rotation, scale, and shear transformations and how to apply them to nodes
  • How to apply multiple transformations to a node

What Is a Transformation?

A transformation is a mapping of points in a coordinate space to themselves preserving distances and directions between them. Several types of transformations can be applied to points in a coordinate space. JavaFX supports the following types of transformation:

  • Translation
  • Rotation
  • Shear
  • Scale
  • Affine

An instance of the abstract Transform class represents a transformation in JavaFX. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required