Point
Beginnerjava.awt
Represents X and Y coordinates. Used for screen positions and locations.
Category
Rendering
Methods
1
Properties
2
Methods (1)
Properties (2)
x
intThe X coordinate
java
1Point point = actor.getCanvasLocation();
2if (point != null) {
3 int x = point.x;
4}y
intThe Y coordinate
java
1Point point = actor.getCanvasLocation();
2if (point != null) {
3 int y = point.y;
4}