Class Affine
- All Implemented Interfaces:
- Cloneable,- EventTarget
 The Affine class represents a general affine transform. An affine
 transform performs a linear mapping from 2D/3D coordinates to other 2D/3D
 coordinates while preserving the "straightness" and "parallelness"
 of lines.
 Affine transformations can be constructed using sequence rotations,
 translations, scales, and shears.
 For simple transformations application developers should use the
 specific Translate, Scale, Rotate, or Shear
 transforms, which are more lightweight and thus more optimal for this simple
 purpose. The Affine class, on the other hand, has the advantage
 of being able to represent a general affine transform and perform matrix
 operations on it in place, so it fits better for more complex transformation
 usages.
 Such a coordinate transformation can be represented by a 3 row by
 4 column matrix. This matrix transforms source coordinates (x,y,z)
 into destination coordinates (x',y',z') by considering
 them to be a column vector and multiplying the coordinate vector
 by the matrix according to the following process:
      [ x']   [  mxx  mxy  mxz  tx  ] [ x ]   [ mxx * x + mxy * y + mxz * z + tx ]
      [ y'] = [  myx  myy  myz  ty  ] [ y ] = [ myx * x + myy * y + myz * z + ty ]
      [ z']   [  mzx  mzy  mzz  tz  ] [ z ]   [ mzx * x + mzy * y + mzz * z + tz ]
                                      [ 1 ]
 - Since:
- JavaFX 2.0
- 
Property SummaryPropertiesTypePropertyDescriptionfinal DoublePropertyDefines the X coordinate scaling element of the 3x4 matrix.final DoublePropertyDefines the XY coordinate element of the 3x4 matrix.final DoublePropertyDefines the XZ coordinate element of the 3x4 matrix.final DoublePropertyDefines the YX coordinate element of the 3x4 matrix.final DoublePropertyDefines the Y coordinate scaling element of the 3x4 matrix.final DoublePropertyDefines the YZ coordinate element of the 3x4 matrix.final DoublePropertyDefines the ZX coordinate element of the 3x4 matrix.final DoublePropertyDefines the ZY coordinate element of the 3x4 matrix.final DoublePropertyDefines the Z coordinate scaling element of the 3x4 matrix.final DoublePropertyDefines the X coordinate translation element of the 3x4 matrix.final DoublePropertyDefines the Y coordinate translation element of the 3x4 matrix.final DoublePropertyDefines the Z coordinate translation element of the 3x4 matrix.Properties declared in class javafx.scene.transform.Transformidentity, onTransformChanged, type2D
- 
Constructor SummaryConstructorsConstructorDescriptionAffine()Creates a new instance ofAffinecontaining an identity transform.Affine(double[] matrix, MatrixType type, int offset) Creates a new instance ofAffinewith a transformation matrix specified by an array.Affine(double mxx, double mxy, double tx, double myx, double myy, double ty) Creates a new instance ofAffinewith a 2D transform specified by the element values.Affine(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Creates a new instance ofAffinewith a transform specified by the element values.Creates a new instance ofAffinefilled with the values from the specified transform.
- 
Method SummaryModifier and TypeMethodDescriptionvoidappend(double[] matrix, MatrixType type, int offset) Appends the transform specified by the array to this instance.voidappend(double mxx, double mxy, double tx, double myx, double myy, double ty) Appends the 2D transform specified by the element values to this instance.voidappend(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Appends the transform specified by the element values to this instance.voidAppends the specified transform to this instance.voidappendRotation(double angle) Appends the 2D rotation to this instance.voidappendRotation(double angle, double pivotX, double pivotY) Appends the 2D rotation with pivot to this instance.voidappendRotation(double angle, double pivotX, double pivotY, double pivotZ, double axisX, double axisY, double axisZ) Appends the rotation to this instance.voidappendRotation(double angle, double pivotX, double pivotY, double pivotZ, Point3D axis) Appends the rotation to this instance.voidappendRotation(double angle, Point2D pivot) Appends the 2D rotation with pivot to this instance.voidappendRotation(double angle, Point3D pivot, Point3D axis) Appends the rotation to this instance.voidappendScale(double sx, double sy) Appends the 2D scale to this instance.voidappendScale(double sx, double sy, double sz) Appends the scale to this instance.voidappendScale(double sx, double sy, double pivotX, double pivotY) Appends the 2D scale with pivot to this instance.voidappendScale(double sx, double sy, double sz, double pivotX, double pivotY, double pivotZ) Appends the scale with pivot to this instance.voidappendScale(double sx, double sy, double sz, Point3D pivot) Appends the scale with pivot to this instance.voidappendScale(double sx, double sy, Point2D pivot) Appends the 2D scale with pivot to this instance.voidappendShear(double shx, double shy) Appends the shear to this instance.voidappendShear(double shx, double shy, double pivotX, double pivotY) Appends the shear with pivot to this instance.voidappendShear(double shx, double shy, Point2D pivot) Appends the shear with pivot to this instance.voidappendTranslation(double tx, double ty) Appends the 2D translation to this instance.voidappendTranslation(double tx, double ty, double tz) Appends the translation to this instance.clone()Returns a deep copy of this transform.Returns the inverse transform of this transform.final doublegetMxx()Gets the value of themxxproperty.final doublegetMxy()Gets the value of themxyproperty.final doublegetMxz()Gets the value of themxzproperty.final doublegetMyx()Gets the value of themyxproperty.final doublegetMyy()Gets the value of themyyproperty.final doublegetMyz()Gets the value of themyzproperty.final doublegetMzx()Gets the value of themzxproperty.final doublegetMzy()Gets the value of themzyproperty.final doublegetMzz()Gets the value of themzzproperty.final doublegetTx()Gets the value of thetxproperty.final doublegetTy()Gets the value of thetyproperty.final doublegetTz()Gets the value of thetzproperty.voidinvert()Inverts this transform in place.final DoublePropertyDefines the X coordinate scaling element of the 3x4 matrix.final DoublePropertyDefines the XY coordinate element of the 3x4 matrix.final DoublePropertyDefines the XZ coordinate element of the 3x4 matrix.final DoublePropertyDefines the YX coordinate element of the 3x4 matrix.final DoublePropertyDefines the Y coordinate scaling element of the 3x4 matrix.final DoublePropertyDefines the YZ coordinate element of the 3x4 matrix.final DoublePropertyDefines the ZX coordinate element of the 3x4 matrix.final DoublePropertyDefines the ZY coordinate element of the 3x4 matrix.final DoublePropertyDefines the Z coordinate scaling element of the 3x4 matrix.voidprepend(double[] matrix, MatrixType type, int offset) Prepends the transform specified by the array to this instance.voidprepend(double mxx, double mxy, double tx, double myx, double myy, double ty) Prepends the 2D transform specified by the element values to this instance.voidprepend(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Prepends the transform specified by the element values to this instance.voidPrepends the specified transform to this instance.voidprependRotation(double angle) Prepends the 2D rotation to this instance.voidprependRotation(double angle, double pivotX, double pivotY) Prepends the 2D rotation with pivot to this instance.voidprependRotation(double angle, double pivotX, double pivotY, double pivotZ, double axisX, double axisY, double axisZ) Prepends the rotation to this instance.voidprependRotation(double angle, double pivotX, double pivotY, double pivotZ, Point3D axis) Prepends the rotation to this instance.voidprependRotation(double angle, Point2D pivot) Prepends the 2D rotation with pivot to this instance.voidprependRotation(double angle, Point3D pivot, Point3D axis) Prepends the rotation to this instance.voidprependScale(double sx, double sy) Prepends the 2D scale to this instance.voidprependScale(double sx, double sy, double sz) Prepends the scale to this instance.voidprependScale(double sx, double sy, double pivotX, double pivotY) Prepends the 2D scale with pivot to this instance.voidprependScale(double sx, double sy, double sz, double pivotX, double pivotY, double pivotZ) Prepends the scale with pivot to this instance.voidprependScale(double sx, double sy, double sz, Point3D pivot) Prepends the scale with pivot to this instance.voidprependScale(double sx, double sy, Point2D pivot) Prepends the 2D scale with pivot to this instance.voidprependShear(double shx, double shy) Prepends the shear to this instance.voidprependShear(double shx, double shy, double pivotX, double pivotY) Prepends the shear with pivot to this instance.voidprependShear(double shx, double shy, Point2D pivot) Prepends the shear with pivot to this instance.voidprependTranslation(double tx, double ty) Prepends the 2D translation to this instance.voidprependTranslation(double tx, double ty, double tz) Prepends the translation to this instance.voidsetElement(MatrixType type, int row, int column, double value) Sets the specified element of the transformation matrix.final voidsetMxx(double value) Sets the value of themxxproperty.final voidsetMxy(double value) Sets the value of themxyproperty.final voidsetMxz(double value) Sets the value of themxzproperty.final voidsetMyx(double value) Sets the value of themyxproperty.final voidsetMyy(double value) Sets the value of themyyproperty.final voidsetMyz(double value) Sets the value of themyzproperty.final voidsetMzx(double value) Sets the value of themzxproperty.final voidsetMzy(double value) Sets the value of themzyproperty.final voidsetMzz(double value) Sets the value of themzzproperty.voidResets this transform to the identity transform.voidsetToTransform(double[] matrix, MatrixType type, int offset) Sets the values of this instance to the transformation matrix specified by an array.voidsetToTransform(double mxx, double mxy, double tx, double myx, double myy, double ty) Sets the values of this instance to the 2D transform specified by the element values.voidsetToTransform(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Sets the values of this instance to the transform specified by the element values.voidsetToTransform(Transform transform) Sets the values of this instance to the values provided by the specified transform.final voidsetTx(double value) Sets the value of thetxproperty.final voidsetTy(double value) Sets the value of thetyproperty.final voidsetTz(double value) Sets the value of thetzproperty.toString()Returns a string representation of thisAffineobject.final DoublePropertyDefines the X coordinate translation element of the 3x4 matrix.final DoublePropertyDefines the Y coordinate translation element of the 3x4 matrix.final DoublePropertyDefines the Z coordinate translation element of the 3x4 matrix.Methods declared in class javafx.scene.transform.TransformaddEventFilter, addEventHandler, affine, affine, buildEventDispatchChain, column, column, createConcatenation, deltaTransform, deltaTransform, deltaTransform, deltaTransform, determinant, getElement, getOnTransformChanged, identityProperty, inverseDeltaTransform, inverseDeltaTransform, inverseDeltaTransform, inverseDeltaTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform2DPoints, inverseTransform3DPoints, isIdentity, isType2D, onTransformChangedProperty, removeEventFilter, removeEventHandler, rotate, row, row, scale, scale, setOnTransformChanged, shear, shear, similarTo, toArray, toArray, transform, transform, transform, transform, transform, transform2DPoints, transform3DPoints, transformChanged, translate, type2DProperty
- 
Property Details- 
mxxDefines the X coordinate scaling element of the 3x4 matrix.- See Also:
 
- 
mxyDefines the XY coordinate element of the 3x4 matrix.- See Also:
 
- 
mxzDefines the XZ coordinate element of the 3x4 matrix.- See Also:
 
- 
txDefines the X coordinate translation element of the 3x4 matrix.- See Also:
 
- 
myxDefines the YX coordinate element of the 3x4 matrix.- See Also:
 
- 
myyDefines the Y coordinate scaling element of the 3x4 matrix.- See Also:
 
- 
myzDefines the YZ coordinate element of the 3x4 matrix.- See Also:
 
- 
tyDefines the Y coordinate translation element of the 3x4 matrix.- See Also:
 
- 
mzxDefines the ZX coordinate element of the 3x4 matrix.- See Also:
 
- 
mzyDefines the ZY coordinate element of the 3x4 matrix.- See Also:
 
- 
mzzDefines the Z coordinate scaling element of the 3x4 matrix.- See Also:
 
- 
tzDefines the Z coordinate translation element of the 3x4 matrix.- See Also:
 
 
- 
- 
Constructor Details- 
Affinepublic Affine()Creates a new instance ofAffinecontaining an identity transform.
- 
AffineCreates a new instance ofAffinefilled with the values from the specified transform.- Parameters:
- transform- transform whose matrix is to be filled to the new instance
- Throws:
- NullPointerException- if the specified- transformis null
- Since:
- JavaFX 8.0
 
- 
Affinepublic Affine(double mxx, double mxy, double tx, double myx, double myy, double ty) Creates a new instance ofAffinewith a 2D transform specified by the element values.- Parameters:
- mxx- the X coordinate scaling element
- mxy- the XY coordinate element
- tx- the X coordinate translation element
- myx- the YX coordinate element
- myy- the Y coordinate scaling element
- ty- the Y coordinate translation element
- Since:
- JavaFX 8.0
 
- 
Affinepublic Affine(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Creates a new instance ofAffinewith a transform specified by the element values.- Parameters:
- mxx- the X coordinate scaling element
- mxy- the XY coordinate element
- mxz- the XZ coordinate element
- tx- the X coordinate translation element
- myx- the YX coordinate element
- myy- the Y coordinate scaling element
- myz- the YZ coordinate element
- ty- the Y coordinate translation element
- mzx- the ZX coordinate element
- mzy- the ZY coordinate element
- mzz- the Z coordinate scaling element
- tz- the Z coordinate translation element
- Since:
- JavaFX 8.0
 
- 
AffineCreates a new instance ofAffinewith a transformation matrix specified by an array.- Parameters:
- matrix- array containing the flattened transformation matrix
- type- type of matrix contained in the array
- offset- offset of the first element in the array
- Throws:
- IndexOutOfBoundsException- if the array is too short for the specified- typeand- offset
- IllegalArgumentException- if the specified matrix is not affine (the last line of a 2D 3x3 matrix is not- [0, 0, 1]or the last line of a 3D 4x4 matrix is not- [0, 0, 0, 1].
- NullPointerException- if the specified- matrixor- typeis null
- Since:
- JavaFX 8.0
 
 
- 
- 
Method Details- 
setMxxpublic final void setMxx(double value) Sets the value of themxxproperty.- Property description:
- Defines the X coordinate scaling element of the 3x4 matrix.
- Parameters:
- value- the value for the- mxxproperty
- See Also:
 
- 
getMxx
- 
mxxPropertyDefines the X coordinate scaling element of the 3x4 matrix.- Returns:
- the mxxproperty
- See Also:
 
- 
setMxypublic final void setMxy(double value) Sets the value of themxyproperty.- Property description:
- Defines the XY coordinate element of the 3x4 matrix.
- Parameters:
- value- the value for the- mxyproperty
- See Also:
 
- 
getMxy
- 
mxyPropertyDefines the XY coordinate element of the 3x4 matrix.- Returns:
- the mxyproperty
- See Also:
 
- 
setMxzpublic final void setMxz(double value) Sets the value of themxzproperty.- Property description:
- Defines the XZ coordinate element of the 3x4 matrix.
- Parameters:
- value- the value for the- mxzproperty
- See Also:
 
- 
getMxz
- 
mxzPropertyDefines the XZ coordinate element of the 3x4 matrix.- Returns:
- the mxzproperty
- See Also:
 
- 
setTxpublic final void setTx(double value) Sets the value of thetxproperty.- Property description:
- Defines the X coordinate translation element of the 3x4 matrix.
- Parameters:
- value- the value for the- txproperty
- See Also:
 
- 
getTx
- 
txPropertyDefines the X coordinate translation element of the 3x4 matrix.- Returns:
- the txproperty
- See Also:
 
- 
setMyxpublic final void setMyx(double value) Sets the value of themyxproperty.- Property description:
- Defines the YX coordinate element of the 3x4 matrix.
- Parameters:
- value- the value for the- myxproperty
- See Also:
 
- 
getMyx
- 
myxPropertyDefines the YX coordinate element of the 3x4 matrix.- Returns:
- the myxproperty
- See Also:
 
- 
setMyypublic final void setMyy(double value) Sets the value of themyyproperty.- Property description:
- Defines the Y coordinate scaling element of the 3x4 matrix.
- Parameters:
- value- the value for the- myyproperty
- See Also:
 
- 
getMyy
- 
myyPropertyDefines the Y coordinate scaling element of the 3x4 matrix.- Returns:
- the myyproperty
- See Also:
 
- 
setMyzpublic final void setMyz(double value) Sets the value of themyzproperty.- Property description:
- Defines the YZ coordinate element of the 3x4 matrix.
- Parameters:
- value- the value for the- myzproperty
- See Also:
 
- 
getMyz
- 
myzPropertyDefines the YZ coordinate element of the 3x4 matrix.- Returns:
- the myzproperty
- See Also:
 
- 
setTypublic final void setTy(double value) Sets the value of thetyproperty.- Property description:
- Defines the Y coordinate translation element of the 3x4 matrix.
- Parameters:
- value- the value for the- typroperty
- See Also:
 
- 
getTy
- 
tyPropertyDefines the Y coordinate translation element of the 3x4 matrix.- Returns:
- the typroperty
- See Also:
 
- 
setMzxpublic final void setMzx(double value) Sets the value of themzxproperty.- Property description:
- Defines the ZX coordinate element of the 3x4 matrix.
- Parameters:
- value- the value for the- mzxproperty
- See Also:
 
- 
getMzx
- 
mzxPropertyDefines the ZX coordinate element of the 3x4 matrix.- Returns:
- the mzxproperty
- See Also:
 
- 
setMzypublic final void setMzy(double value) Sets the value of themzyproperty.- Property description:
- Defines the ZY coordinate element of the 3x4 matrix.
- Parameters:
- value- the value for the- mzyproperty
- See Also:
 
- 
getMzy
- 
mzyPropertyDefines the ZY coordinate element of the 3x4 matrix.- Returns:
- the mzyproperty
- See Also:
 
- 
setMzzpublic final void setMzz(double value) Sets the value of themzzproperty.- Property description:
- Defines the Z coordinate scaling element of the 3x4 matrix.
- Parameters:
- value- the value for the- mzzproperty
- See Also:
 
- 
getMzz
- 
mzzPropertyDefines the Z coordinate scaling element of the 3x4 matrix.- Returns:
- the mzzproperty
- See Also:
 
- 
setTzpublic final void setTz(double value) Sets the value of thetzproperty.- Property description:
- Defines the Z coordinate translation element of the 3x4 matrix.
- Parameters:
- value- the value for the- tzproperty
- See Also:
 
- 
getTz
- 
tzPropertyDefines the Z coordinate translation element of the 3x4 matrix.- Returns:
- the tzproperty
- See Also:
 
- 
setElementSets the specified element of the transformation matrix.- Parameters:
- type- type of matrix to work with
- row- zero-based row number
- column- zero-based column number
- value- new value of the specified transformation matrix element
- Throws:
- IndexOutOfBoundsException- if the indices are not within the specified matrix type
- IllegalArgumentException- if setting the value would break transform's affinity (for convenience the method allows to set the elements of the last line of a 2D 3x3 matrix to- [0, 0, 1]and the elements of the last line of a 3D 4x4 matrix to- [0, 0, 0, 1]).
- NullPointerException- if the specified- typeis null
- Since:
- JavaFX 8.0
 
- 
createInverseDescription copied from class:TransformReturns the inverse transform of this transform.- Overrides:
- createInversein class- Transform
- Returns:
- the inverse transform
- Throws:
- NonInvertibleTransformException- if this transform cannot be inverted
 
- 
clone
- 
setToTransformSets the values of this instance to the values provided by the specified transform.- Parameters:
- transform- transform whose matrix is to be filled to this instance
- Throws:
- NullPointerException- if the specified- transformis null
- Since:
- JavaFX 8.0
 
- 
setToTransformpublic void setToTransform(double mxx, double mxy, double tx, double myx, double myy, double ty) Sets the values of this instance to the 2D transform specified by the element values.- Parameters:
- mxx- the X coordinate scaling element
- mxy- the XY coordinate element
- tx- the X coordinate translation element
- myx- the YX coordinate element
- myy- the Y coordinate scaling element
- ty- the Y coordinate translation element
- Since:
- JavaFX 8.0
 
- 
setToTransformpublic void setToTransform(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Sets the values of this instance to the transform specified by the element values.- Parameters:
- mxx- the X coordinate scaling element
- mxy- the XY coordinate element
- mxz- the XZ coordinate element
- tx- the X coordinate translation element
- myx- the YX coordinate element
- myy- the Y coordinate scaling element
- myz- the YZ coordinate element
- ty- the Y coordinate translation element
- mzx- the ZX coordinate element
- mzy- the ZY coordinate element
- mzz- the Z coordinate scaling element
- tz- the Z coordinate translation element
- Since:
- JavaFX 8.0
 
- 
setToTransformSets the values of this instance to the transformation matrix specified by an array.- Parameters:
- matrix- array containing the flattened transformation matrix
- type- type of matrix contained in the array
- offset- offset of the first element in the array
- Throws:
- IndexOutOfBoundsException- if the array is too short for the specified- typeand- offset
- IllegalArgumentException- if the specified matrix is not affine (the last line of a 2D 3x3 matrix is not- [0, 0, 1]or the last line of a 3D 4x4 matrix is not- [0, 0, 0, 1].
- NullPointerException- if the specified- matrixor- typeis null
- Since:
- JavaFX 8.0
 
- 
setToIdentitypublic void setToIdentity()Resets this transform to the identity transform.- Since:
- JavaFX 8.0
 
- 
invertInverts this transform in place.- Throws:
- NonInvertibleTransformException- if this transform cannot be inverted
- Since:
- JavaFX 8.0
 
- 
appendAppends the specified transform to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list,thistransform first and the specifiedtransformsecond.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified transform. - Parameters:
- transform- transform to be appended to this instance
- Throws:
- NullPointerException- if the specified- transformis null
- Since:
- JavaFX 8.0
 
- 
appendpublic void append(double mxx, double mxy, double tx, double myx, double myy, double ty) Appends the 2D transform specified by the element values to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list,thistransform first and the specifiedtransformsecond.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified transform. - Parameters:
- mxx- the X coordinate scaling element of the transform to be appended
- mxy- the XY coordinate element of the transform to be appended
- tx- the X coordinate translation element of the transform to be appended
- myx- the YX coordinate element of the transform to be appended
- myy- the Y coordinate scaling element of the transform to be appended
- ty- the Y coordinate translation element of the transform to be appended
- Since:
- JavaFX 8.0
 
- 
appendpublic void append(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Appends the transform specified by the element values to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list,thistransform first and the specifiedtransformsecond.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified transform. - Parameters:
- mxx- the X coordinate scaling element of the transform to be appended
- mxy- the XY coordinate element of the transform to be appended
- mxz- the XZ coordinate element of the transform to be appended
- tx- the X coordinate translation element of the transform to be appended
- myx- the YX coordinate element of the transform to be appended
- myy- the Y coordinate scaling element of the transform to be appended
- myz- the YZ coordinate element of the transform to be appended
- ty- the Y coordinate translation element of the transform to be appended
- mzx- the ZX coordinate element of the transform to be appended
- mzy- the ZY coordinate element of the transform to be appended
- mzz- the Z coordinate scaling element of the transform to be appended
- tz- the Z coordinate translation element of the transform to be appended
- Since:
- JavaFX 8.0
 
- 
appendAppends the transform specified by the array to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list,thistransform first and the specifiedtransformsecond.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified transform. - Parameters:
- matrix- array containing the flattened transformation matrix to be appended
- type- type of matrix contained in the array
- offset- offset of the first matrix element in the array
- Throws:
- IndexOutOfBoundsException- if the array is too short for the specified- typeand- offset
- IllegalArgumentException- if the specified matrix is not affine (the last line of a 2D 3x3 matrix is not- [0, 0, 1]or the last line of a 3D 4x4 matrix is not- [0, 0, 0, 1].
- NullPointerException- if the specified- matrixor- typeis null
- Since:
- JavaFX 8.0
 
- 
prependPrepends the specified transform to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list, the specifiedtransformfirst andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified transform. - Parameters:
- transform- transform to be prepended to this instance
- Throws:
- NullPointerException- if the specified- transformis null
- Since:
- JavaFX 8.0
 
- 
prependpublic void prepend(double mxx, double mxy, double tx, double myx, double myy, double ty) Prepends the 2D transform specified by the element values to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list, the specifiedtransformfirst andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified transform. - Parameters:
- mxx- the X coordinate scaling element of the transform to be prepended
- mxy- the XY coordinate element of the transform to be prepended
- tx- the X coordinate translation element of the transform to be prepended
- myx- the YX coordinate element of the transform to be prepended
- myy- the Y coordinate scaling element of the transform to be prepended
- ty- the Y coordinate translation element of the transform to be prepended
- Since:
- JavaFX 8.0
 
- 
prependpublic void prepend(double mxx, double mxy, double mxz, double tx, double myx, double myy, double myz, double ty, double mzx, double mzy, double mzz, double tz) Prepends the transform specified by the element values to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list, the specifiedtransformfirst andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified transform. - Parameters:
- mxx- the X coordinate scaling element of the transform to be prepended
- mxy- the XY coordinate element of the transform to be prepended
- mxz- the XZ coordinate element of the transform to be prepended
- tx- the X coordinate translation element of the transform to be prepended
- myx- the YX coordinate element of the transform to be prepended
- myy- the Y coordinate scaling element of the transform to be prepended
- myz- the YZ coordinate element of the transform to be prepended
- ty- the Y coordinate translation element of the transform to be prepended
- mzx- the ZX coordinate element of the transform to be prepended
- mzy- the ZY coordinate element of the transform to be prepended
- mzz- the Z coordinate scaling element of the transform to be prepended
- tz- the Z coordinate translation element of the transform to be prepended
- Since:
- JavaFX 8.0
 
- 
prependPrepends the transform specified by the array to this instance. The operation modifies this transform in a way that applying it to a node has the same effect as adding the two transforms to its getTransforms()list, the specifiedtransformfirst andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified transform. - Parameters:
- matrix- array containing the flattened transformation matrix to be prepended
- type- type of matrix contained in the array
- offset- offset of the first matrix element in the array
- Throws:
- IndexOutOfBoundsException- if the array is too short for the specified- typeand- offset
- IllegalArgumentException- if the specified matrix is not affine (the last line of a 2D 3x3 matrix is not- [0, 0, 1]or the last line of a 3D 4x4 matrix is not- [0, 0, 0, 1].
- NullPointerException- if the specified- matrixor- typeis null
- Since:
- JavaFX 8.0
 
- 
appendTranslationpublic void appendTranslation(double tx, double ty) Appends the 2D translation to this instance. It is equivalent to append(new Translate(tx, ty)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified translation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified translation. - Parameters:
- tx- the X coordinate translation
- ty- the Y coordinate translation
- Since:
- JavaFX 8.0
 
- 
appendTranslationpublic void appendTranslation(double tx, double ty, double tz) Appends the translation to this instance. It is equivalent to append(new Translate(tx, ty, tz)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified translation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified translation. - Parameters:
- tx- the X coordinate translation
- ty- the Y coordinate translation
- tz- the Z coordinate translation
- Since:
- JavaFX 8.0
 
- 
prependTranslationpublic void prependTranslation(double tx, double ty, double tz) Prepends the translation to this instance. It is equivalent to prepend(new Translate(tx, ty, tz)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified translation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified translation. - Parameters:
- tx- the X coordinate translation
- ty- the Y coordinate translation
- tz- the Z coordinate translation
- Since:
- JavaFX 8.0
 
- 
prependTranslationpublic void prependTranslation(double tx, double ty) Prepends the 2D translation to this instance. It is equivalent to prepend(new Translate(tx, ty)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified translation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified translation. - Parameters:
- tx- the X coordinate translation
- ty- the Y coordinate translation
- Since:
- JavaFX 8.0
 
- 
appendScalepublic void appendScale(double sx, double sy) Appends the 2D scale to this instance. It is equivalent to append(new Scale(sx, sy)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified scale second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- Since:
- JavaFX 8.0
 
- 
appendScalepublic void appendScale(double sx, double sy, double pivotX, double pivotY) Appends the 2D scale with pivot to this instance. It is equivalent to append(new Scale(sx, sy, pivotX, pivotY)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified scale second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- pivotX- the X coordinate of the point about which the scale occurs
- pivotY- the Y coordinate of the point about which the scale occurs
- Since:
- JavaFX 8.0
 
- 
appendScaleAppends the 2D scale with pivot to this instance. It is equivalent to append(new Scale(sx, sy, pivot.getX(), pivot.getY()).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified scale second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- pivot- the point about which the scale occurs
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
appendScalepublic void appendScale(double sx, double sy, double sz) Appends the scale to this instance. It is equivalent to append(new Scale(sx, sy, sz)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified scale second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- sz- the Z coordinate scale factor
- Since:
- JavaFX 8.0
 
- 
appendScalepublic void appendScale(double sx, double sy, double sz, double pivotX, double pivotY, double pivotZ) Appends the scale with pivot to this instance. It is equivalent to append(new Scale(sx, sy, sz, pivotX, pivotY, pivotZ)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified scale second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- sz- the Z coordinate scale factor
- pivotX- the X coordinate of the point about which the scale occurs
- pivotY- the Y coordinate of the point about which the scale occurs
- pivotZ- the Z coordinate of the point about which the scale occurs
- Since:
- JavaFX 8.0
 
- 
appendScaleAppends the scale with pivot to this instance. It is equivalent to append(new Scale(sx, sy, sz, pivot.getX(), pivot.getY(), pivot.getZ())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified scale second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- sz- the Z coordinate scale factor
- pivot- the point about which the scale occurs
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
prependScalepublic void prependScale(double sx, double sy) Prepends the 2D scale to this instance. It is equivalent to prepend(new Scale(sx, sy)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified scale first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- Since:
- JavaFX 8.0
 
- 
prependScalepublic void prependScale(double sx, double sy, double pivotX, double pivotY) Prepends the 2D scale with pivot to this instance. It is equivalent to prepend(new Scale(sx, sy, pivotX, pivotY)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified scale first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- pivotX- the X coordinate of the point about which the scale occurs
- pivotY- the Y coordinate of the point about which the scale occurs
- Since:
- JavaFX 8.0
 
- 
prependScalePrepends the 2D scale with pivot to this instance. It is equivalent to prepend(new Scale(sx, sy, pivot.getX(), </p>pivot.getY())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified scale first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- pivot- the point about which the scale occurs
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
prependScalepublic void prependScale(double sx, double sy, double sz) Prepends the scale to this instance. It is equivalent to prepend(new Scale(sx, sy, sz)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified scale first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- sz- the Z coordinate scale factor
- Since:
- JavaFX 8.0
 
- 
prependScalepublic void prependScale(double sx, double sy, double sz, double pivotX, double pivotY, double pivotZ) Prepends the scale with pivot to this instance. It is equivalent to prepend(new Scale(sx, sy, sz, pivotX, pivotY, pivotZ)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified scale first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- sz- the Z coordinate scale factor
- pivotX- the X coordinate of the point about which the scale occurs
- pivotY- the Y coordinate of the point about which the scale occurs
- pivotZ- the Z coordinate of the point about which the scale occurs
- Since:
- JavaFX 8.0
 
- 
prependScalePrepends the scale with pivot to this instance. It is equivalent to prepend(new Scale(sx, sy, sz, pivot.getX(), pivot.getY(), pivot.getZ())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified scale first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified scale. - Parameters:
- sx- the X coordinate scale factor
- sy- the Y coordinate scale factor
- sz- the Z coordinate scale factor
- pivot- the point about which the scale occurs
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
appendShearpublic void appendShear(double shx, double shy) Appends the shear to this instance. It is equivalent to append(new Shear(sx, sy)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified shear second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified shear. - Parameters:
- shx- the XY coordinate element
- shy- the YX coordinate element
- Since:
- JavaFX 8.0
 
- 
appendShearpublic void appendShear(double shx, double shy, double pivotX, double pivotY) Appends the shear with pivot to this instance. It is equivalent to append(new Shear(sx, sy, pivotX, pivotY)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified shear second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified shear. - Parameters:
- shx- the XY coordinate element
- shy- the YX coordinate element
- pivotX- the X coordinate of the shear pivot point
- pivotY- the Y coordinate of the shear pivot point
- Since:
- JavaFX 8.0
 
- 
appendShearAppends the shear with pivot to this instance. It is equivalent to append(new Shear(sx, sy, pivot.getX(), pivot.getY())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified shear second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified shear. - Parameters:
- shx- the XY coordinate element
- shy- the YX coordinate element
- pivot- the shear pivot point
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
prependShearpublic void prependShear(double shx, double shy) Prepends the shear to this instance. It is equivalent to prepend(new Shear(sx, sy)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified shear first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified shear. - Parameters:
- shx- the XY coordinate element
- shy- the YX coordinate element
- Since:
- JavaFX 8.0
 
- 
prependShearpublic void prependShear(double shx, double shy, double pivotX, double pivotY) Prepends the shear with pivot to this instance. It is equivalent to prepend(new Shear(sx, sy, pivotX, pivotY)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified shear first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified shear. - Parameters:
- shx- the XY coordinate element
- shy- the YX coordinate element
- pivotX- the X coordinate of the shear pivot point
- pivotY- the Y coordinate of the shear pivot point
- Since:
- JavaFX 8.0
 
- 
prependShearPrepends the shear with pivot to this instance. It is equivalent to prepend(new Shear(sx, sy, pivot.getX(), pivot.getY())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified shear first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified shear. - Parameters:
- shx- the XY coordinate element
- shy- the YX coordinate element
- pivot- the shear pivot point
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
appendRotationpublic void appendRotation(double angle) Appends the 2D rotation to this instance. It is equivalent to append(new Rotate(angle)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified rotation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- Since:
- JavaFX 8.0
 
- 
appendRotationpublic void appendRotation(double angle, double pivotX, double pivotY) Appends the 2D rotation with pivot to this instance. It is equivalent to append(new Rotate(angle, pivotX, pivotY)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified rotation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivotX- the X coordinate of the rotation pivot point
- pivotY- the Y coordinate of the rotation pivot point
- Since:
- JavaFX 8.0
 
- 
appendRotationAppends the 2D rotation with pivot to this instance. It is equivalent to append(new Rotate(angle, pivot.getX(), pivot.getY())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified rotation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivot- the rotation pivot point
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
appendRotationpublic void appendRotation(double angle, double pivotX, double pivotY, double pivotZ, double axisX, double axisY, double axisZ) Appends the rotation to this instance. It is equivalent to append(new Rotate(angle, pivotX, pivotY, pivotZ, new Point3D(axisX, axisY, axisZ))).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified rotation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivotX- the X coordinate of the rotation pivot point
- pivotY- the Y coordinate of the rotation pivot point
- pivotZ- the Z coordinate of the rotation pivot point
- axisX- the X coordinate magnitude of the rotation axis
- axisY- the Y coordinate magnitude of the rotation axis
- axisZ- the Z coordinate magnitude of the rotation axis
- Since:
- JavaFX 8.0
 
- 
appendRotationAppends the rotation to this instance. It is equivalent to append(new Rotate(angle, pivotX, pivotY, pivotZ, axis)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified rotation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivotX- the X coordinate of the rotation pivot point
- pivotY- the Y coordinate of the rotation pivot point
- pivotZ- the Z coordinate of the rotation pivot point
- axis- the rotation axis
- Throws:
- NullPointerException- if the specified- axisis null
- Since:
- JavaFX 8.0
 
- 
appendRotationAppends the rotation to this instance. It is equivalent to append(new Rotate(angle, pivot.getX(), pivot.getY(), pivot.getZ(), axis)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list,thistransform first and the specified rotation second.From the matrix point of view, the transformation matrix of this transform is multiplied on the right by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivot- the rotation pivot point
- axis- the rotation axis
- Throws:
- NullPointerException- if the specified- pivotor- axisis null
- Since:
- JavaFX 8.0
 
- 
prependRotationpublic void prependRotation(double angle) Prepends the 2D rotation to this instance. It is equivalent to prepend(new Rotate(angle)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified rotation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- Since:
- JavaFX 8.0
 
- 
prependRotationpublic void prependRotation(double angle, double pivotX, double pivotY) Prepends the 2D rotation with pivot to this instance. It is equivalent to prepend(new Rotate(angle, pivotX, pivotY)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified rotation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivotX- the X coordinate of the rotation pivot point
- pivotY- the Y coordinate of the rotation pivot point
- Since:
- JavaFX 8.0
 
- 
prependRotationPrepends the 2D rotation with pivot to this instance. It is equivalent to prepend(new Rotate(angle, pivot.getX(), pivot.getY())).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified rotation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivot- the rotation pivot point
- Throws:
- NullPointerException- if the specified- pivotis null
- Since:
- JavaFX 8.0
 
- 
prependRotationpublic void prependRotation(double angle, double pivotX, double pivotY, double pivotZ, double axisX, double axisY, double axisZ) Prepends the rotation to this instance. It is equivalent to prepend(new Rotate(angle, pivotX, pivotY, pivotZ, new Point3D(axisX, axisY, axisZ))).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified rotation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivotX- the X coordinate of the rotation pivot point
- pivotY- the Y coordinate of the rotation pivot point
- pivotZ- the Z coordinate of the rotation pivot point
- axisX- the X coordinate magnitude of the rotation axis
- axisY- the Y coordinate magnitude of the rotation axis
- axisZ- the Z coordinate magnitude of the rotation axis
- Since:
- JavaFX 8.0
 
- 
prependRotationpublic void prependRotation(double angle, double pivotX, double pivotY, double pivotZ, Point3D axis) Prepends the rotation to this instance. It is equivalent to prepend(new Rotate(angle, pivotX, pivotY, pivotZ, axis)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified rotation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivotX- the X coordinate of the rotation pivot point
- pivotY- the Y coordinate of the rotation pivot point
- pivotZ- the Z coordinate of the rotation pivot point
- axis- the rotation axis
- Throws:
- NullPointerException- if the specified- axisis null
- Since:
- JavaFX 8.0
 
- 
prependRotationPrepends the rotation to this instance. It is equivalent to prepend(new Rotate(angle, pivot.getX(), pivot.getY(), pivot.getZ(), axis)).The operation modifies this transform in a way that applying it to a node has the same effect as adding two transforms to its getTransforms()list, the specified rotation first andthistransform second.From the matrix point of view, the transformation matrix of this transform is multiplied on the left by the transformation matrix of the specified rotation. - Parameters:
- angle- the angle of the rotation in degrees
- pivot- the rotation pivot point
- axis- the rotation axis
- Throws:
- NullPointerException- if the specified- pivotor- axisis null
- Since:
- JavaFX 8.0
 
- 
toString
 
-