Class ScreenPoint
Package world.mappable.mapkit
java.lang.Object
↳ world.mappable.mapkit.ScreenPoint
class ScreenPoint implements Serializable
A point on the device screen.
Summary
Constructors
|
Signature and Description |
|
ScreenPoint(float x, |
|
ScreenPoint() |
Methods
|
Type and modifiers |
Method and Description |
|
float |
getX() |
|
float |
getY() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
ScreenPoint
|
ScreenPoint(float x, |
ScreenPoint
|
ScreenPoint() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getX
|
float getX() |
The horizontal position of the point in pixels from the left screen border.
getY
|
float getY() |
The vertical position of the point in pixels from the top screen border.
serialize
|
@Override |