Class Point
java.lang.Object
org.aesh.terminal.tty.Point
Represents a 2D point with x and y coordinates, typically used for cursor positions.
- Author:
- Ståle W. Pedersen
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Point
public Point(int x, int y) Creates a new point with the specified coordinates.- Parameters:
x- the x coordinate (column)y- the y coordinate (row)
-
-
Method Details
-
x
public int x()Get the x coordinate (column).- Returns:
- the x coordinate
-
y
public int y()Get the y coordinate (row).- Returns:
- the y coordinate
-
equals
-
hashCode
-
toString
-