Package javafx.scene.transform
Class Transform
java.lang.Object
javafx.scene.transform.Transform
- Author:
- Bruno Salmon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Affineabstract TransformReturns the inverse transform of this transform.inverseTransform(double x, double y) inverseTransform(Point2D point) toAffine()abstract Point2Dtransform(double x, double y) Transforms the specified point by this transform.Transforms the specified point by this transform.protected void
-
Constructor Details
-
Transform
public Transform()
-
-
Method Details
-
transform
Transforms the specified point by this transform. This method can be used only for 2D transforms.- Parameters:
x- the X coordinate of the pointy- the Y coordinate of the point- Returns:
- the transformed point
-
transform
Transforms the specified point by this transform. This method can be used only for 2D transforms.- Parameters:
point- the point to be transformed- Returns:
- the transformed point
- Throws:
NullPointerException- if the specifiedpointis null
-
createInverse
Returns the inverse transform of this transform.- Returns:
- the inverse transform
-
inverseTransform
-
toAffine
-
createAffine
-
transformChanged
protected void transformChanged() -
inverseTransform
-