Overview
This class represents an Affine
object that shears coordinates
by the specified multipliers. The matrix representing the shearing
transformation is as follows:
[ 1 x 0 ] [ y 1 0 ]
the code:
import javafx.scene.text.*;
import javafx.scene.transform.*;
Text {
transforms: Shear { x: -0.35 y: 0 }
x: 20 y: 50
font: Font { size: 20 }
content: "Using Shear for pseudo-italic font"
}
produces:
Profile: common
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | x | Number | 0.0 |
Defines the multiplier by which coordinates are shifted in the direction of the positive X axis as a factor of their Y coordinate. Defines the multiplier by which coordinates are shifted in the direction of the positive X axis as a factor of their Y coordinate. Typical values are in the range -1 to 1, exclusive. 0.0Profile: common |
|||
public | y | Number | 0.0 |
Defines the multiplier by which coordinates are shifted in the direction of the positive Y axis as a factor of their X coordinate. Defines the multiplier by which coordinates are shifted in the direction of the positive Y axis as a factor of their X coordinate. Typical values are in the range -1 to 1, exclusive. 0.0Profile: common |
Inherited Variables
javafx.scene.transform.Transform
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|
Inherited Functions
javafx.scene.transform.Transform
- public impl_mul(transform: com.sun.javafx.geom.AffineTransform) : Void