Class ScreenRect
Package world.mappable.mapkit
java.lang.Object
↳ world.mappable.mapkit.ScreenRect
class ScreenRect implements Serializable
A rectangle on the device screen.
Summary
Constructors
|
Signature and Description |
|
ScreenRect(@NonNull ScreenPoint topLeft, |
|
ScreenRect() |
Methods
|
Type and modifiers |
Method and Description |
|
getTopLeft() |
|
|
getBottomRight() |
|
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
ScreenRect
|
ScreenRect(@NonNull ScreenPoint topLeft, |
ScreenRect
|
ScreenRect() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getTopLeft
|
@NonNull |
The position of the top left corner of the rectangle.
getBottomRight
|
@NonNull |
The position of the bottom right corner of the rectangle.
serialize
|
@Override |