Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: Transform
Wraps JavaFX Affine, a general 3D affine transform expressed as a 3x4 matrix (12 elements for rotation, scaling, shearing, and translation). Use Affine when a single transform needs to combine several effects or when you need to author the matrix elements directly.
Affine ()
Creates a new identity Affine transform.
setElement (int Row, int Col, double Value)
Sets the value at the given row and column of the affine matrix. Valid rows are 0, 1, 2. Valid columns are 0, 1, 2, 3 (column 3 is translation).
Row is an int with the matrix row.Col is an int with the matrix column.Value is a double with the new element value.this objectsetTx (double X)
Sets the translation X component (matrix element [0, 3]).
X is a double with the translation X value.this objectsetTy (double Y)
Sets the translation Y component (matrix element [1, 3]).
Y is a double with the translation Y value.this objectsetTz (double Z)
Sets the translation Z component (matrix element [2, 3]).
Z is a double with the translation Z value.this objectappendTranslation (double X, double Y, double Z)
Appends a translation to this affine transform in place.
X is a double with the X translation.Y is a double with the Y translation.Z is a double with the Z translation.this objectappend (object Tx)
Appends another Transform to this affine transform in place. Wraps the overload that accepts a Transform.
Tx is a Transform wrapper to append.this objectappendRotation (double Angle)
Appends a rotation about the Z axis (in degrees) to this affine transform. Wraps the single-angle overload.
Angle is a double with the rotation angle in degrees.this objectappendScale (double Sx, double Sy)
Appends a 2D scale to this affine transform in place. Wraps the (double, double) overload.
Sx is a double scale factor along the X axis.Sy is a double scale factor along the Y axis.this objectappendShear (double Shx, double Shy)
Appends a 2D shear to this affine transform in place. Wraps the (double, double) overload.
Shx is a double shear factor along the X axis.Shy is a double shear factor along the Y axis.this objectcreateConcatenation (object Tx)
Returns a new Transform that is the concatenation of this transform with the supplied Transform.
Tx is the Transform wrapper to concatenate with.An AJO holding the resulting javafx.scene.transform.Transform.createInverse ()
Returns a new Affine that is the inverse of this transform. The underlying Java call throws NonInvertibleTransformException when the matrix is not invertible. The exception surfaces as a regular Aussom exception.
An AJO holding the inverse javafx.scene.transform.Affine.deltaTransform (double X, double Y)
Transforms only the vector portion (no translation) of a 2D point. Wraps the (double, double) overload that returns a Point2D.
X is a double with the input X coordinate.Y is a double with the input Y coordinate.An AJO holding the resulting javafx.geometry.Point2D.determinant ()
Returns the determinant of this affine transform.
A double with the matrix determinant.getMxx ()
Returns matrix element [0, 0].
A double with the Mxx value.getMxy ()
Returns matrix element [0, 1].
A double with the Mxy value.getMxz ()
Returns matrix element [0, 2].
A double with the Mxz value.getMyx ()
Returns matrix element [1, 0].
A double with the Myx value.getMyy ()
Returns matrix element [1, 1].
A double with the Myy value.getMyz ()
Returns matrix element [1, 2].
A double with the Myz value.getMzx ()
Returns matrix element [2, 0].
A double with the Mzx value.getMzy ()
Returns matrix element [2, 1].
A double with the Mzy value.getMzz ()
Returns matrix element [2, 2].
A double with the Mzz value.getTx ()
Returns the translation X component (matrix element [0, 3]).
A double with the Tx value.getTy ()
Returns the translation Y component (matrix element [1, 3]).
A double with the Ty value.getTz ()
Returns the translation Z component (matrix element [2, 3]).
A double with the Tz value.inverseDeltaTransform (double X, double Y)
Inverse-transforms the vector portion (no translation) of a 2D point. The underlying Java call throws NonInvertibleTransformException when the matrix is not invertible. Wraps the (double, double) overload.
X is a double with the input X coordinate.Y is a double with the input Y coordinate.An AJO holding the resulting javafx.geometry.Point2D.inverseTransform (double X, double Y)
Inverse-transforms a 2D point through this transform. The underlying Java call throws NonInvertibleTransformException when the matrix is not invertible. Wraps the (double, double) overload.
X is a double with the input X coordinate.Y is a double with the input Y coordinate.An AJO holding the resulting javafx.geometry.Point2D.invert ()
Inverts this affine transform in place. Throws NonInvertibleTransformException if the matrix is not invertible.
this objectmxxProperty ()
Returns the property holding the Mxx matrix element.
A DoubleProperty AJO.mxyProperty ()
Returns the property holding the Mxy matrix element.
A DoubleProperty AJO.mxzProperty ()
Returns the property holding the Mxz matrix element.
A DoubleProperty AJO.myxProperty ()
Returns the property holding the Myx matrix element.
A DoubleProperty AJO.myyProperty ()
Returns the property holding the Myy matrix element.
A DoubleProperty AJO.myzProperty ()
Returns the property holding the Myz matrix element.
A DoubleProperty AJO.mzxProperty ()
Returns the property holding the Mzx matrix element.
A DoubleProperty AJO.mzyProperty ()
Returns the property holding the Mzy matrix element.
A DoubleProperty AJO.mzzProperty ()
Returns the property holding the Mzz matrix element.
A DoubleProperty AJO.prepend (object Tx)
Prepends another Transform to this affine transform in place. Wraps the overload that accepts a Transform.
Tx is a Transform wrapper to prepend.this objectprependRotation (double Angle)
Prepends a rotation about the Z axis (in degrees) to this affine transform. Wraps the single-angle overload.
Angle is a double with the rotation angle in degrees.this objectprependScale (double Sx, double Sy)
Prepends a 2D scale to this affine transform in place. Wraps the (double, double) overload.
Sx is a double scale factor along the X axis.Sy is a double scale factor along the Y axis.this objectprependShear (double Shx, double Shy)
Prepends a 2D shear to this affine transform in place. Wraps the (double, double) overload.
Shx is a double shear factor along the X axis.Shy is a double shear factor along the Y axis.this objectprependTranslation (double X, double Y, double Z)
Prepends a 3D translation to this affine transform in place. Wraps the (double, double, double) overload.
X is a double with the X translation.Y is a double with the Y translation.Z is a double with the Z translation.this objectsetMxx (double V)
Sets matrix element [0, 0].
V is a double with the new Mxx value.this objectsetMxy (double V)
Sets matrix element [0, 1].
V is a double with the new Mxy value.this objectsetMxz (double V)
Sets matrix element [0, 2].
V is a double with the new Mxz value.this objectsetMyx (double V)
Sets matrix element [1, 0].
V is a double with the new Myx value.this objectsetMyy (double V)
Sets matrix element [1, 1].
V is a double with the new Myy value.this objectsetMyz (double V)
Sets matrix element [1, 2].
V is a double with the new Myz value.this objectsetMzx (double V)
Sets matrix element [2, 0].
V is a double with the new Mzx value.this objectsetMzy (double V)
Sets matrix element [2, 1].
V is a double with the new Mzy value.this objectsetMzz (double V)
Sets matrix element [2, 2].
V is a double with the new Mzz value.this objectsetToIdentity ()
Resets this affine transform to the identity matrix.
this objectsetToTransform (object Tx)
Replaces this transform's matrix with the values from another Transform. Wraps the overload that accepts a single Transform.
Tx is a Transform wrapper providing the source matrix.this objecttransform (double X, double Y)
Transforms a 2D point through this affine transform. Wraps the (double, double) overload that returns a Point2D.
X is a double with the input X coordinate.Y is a double with the input Y coordinate.An AJO holding the resulting javafx.geometry.Point2D.txProperty ()
Returns the property holding the Tx translation element.
A DoubleProperty AJO.tyProperty ()
Returns the property holding the Ty translation element.
A DoubleProperty AJO.tzProperty ()
Returns the property holding the Tz translation element.
A DoubleProperty AJO.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.