The Point.dx() method returns the delta (in mm) along the X-axis between this point and the point you pass it.
Point.dx()
float point.dx(Point point)