Hey Alonso, Thanks for responding.
I believe This point class is not only data container, Its actually has some behavior related to points in a two-dimensional coordinate system.
Records in Java are primarily designed for creating simple data classes that store data but do not include behavior.
Based on this java document https://docs.oracle.com/javase/8/docs/api/java/awt/Point.html,
Point class has move, translate which provide functionality for manipulating point objects. Records, on the other hand, are meant to be simple data containers and do not include methods with behavior. Also this point class extends the java.awt.geom.Point2D but Records can not extend other classes.