public Point2D transform (Point2D point)

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

Exceptions:
IllegalStateException    if this is a 3D transform
NullPointerException    if the specified point is null

Since:  JavaFX 8.0