Class Shear

java.lang.Object
javafx.scene.transform.Transform
javafx.scene.transform.Shear
All Implemented Interfaces:
Cloneable, EventTarget

public class Shear extends Transform
This class represents an Affine object that shears coordinates by the specified multipliers. The matrix representing the shearing transformation around a pivot point (pivotX, pivotY) with multiplication factors x and y is as follows:
              [   1   x   0   -x*pivotY   ]
              [   y   1   0   -y*pivotX   ]
              [   0   0   1       0       ]
 

For example:


 Text text = new Text("Using Shear for pseudo-italic font");
 text.setX(20);
 text.setY(50);
 text.setFont(new Font(20));

 text.getTransforms().add(new Shear(-0.35, 0));
 
Since:
JavaFX 2.0