Changed the class representing a (x, y) to PointF.