Point

Beginner

java.awt

Represents X and Y coordinates. Used for screen positions and locations.

Category
Rendering
Methods
1
Properties
2

Methods (1)

Properties (2)

x

int

The X coordinate

java
1Point point = actor.getCanvasLocation();
2if (point != null) {
3    int x = point.x;
4}

y

int

The Y coordinate

java
1Point point = actor.getCanvasLocation();
2if (point != null) {
3    int y = point.y;
4}

Related Classes

Plugins Using This Class