JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

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

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicxNumber0.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.0

Profile: common

 
publicyNumber0.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.0

Profile: common

 

Inherited Variables

javafx.scene.transform.Transform

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription

Inherited Functions

javafx.scene.transform.Transform

public impl_mul(transform: com.sun.javafx.geom.AffineTransform) : Void
Parameters
transform
 



Spec-Zone.ru - all specs in one place