Java examples for JavaFX:Shape
JavaFX Point difference
//package com.java2s; import javafx.geometry.Point2D; public class Main { public static Point2D diff(Point2D a, Point2D b) { return new Point2D(a.getX() - b.getX(), a.getY() - b.getY()); }// w w w . j a v a2s. c o m }