Package com.yandex.mapkit
Class ScreenRect
java.lang.Object
↳ com.yandex.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(com.yandex.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 |