Package com.yandex.mapkit.map

Class VisibleRegion

java.lang.Object
    ↳ com.yandex.mapkit.map.VisibleRegion

class VisibleRegion implements Serializable

Defines the visible region.

Summary

Constructors

Signature and Description

VisibleRegion(@NonNull Point topLeft,
              @NonNull Point topRight,
              @NonNull Point bottomLeft,
              @NonNull Point bottomRight)

VisibleRegion()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

Point

getTopLeft()
Top-left of the visible region.

Point

getTopRight()
Top-right of the visible region.

Point

getBottomLeft()
Bottom-left of the visible region.

Point

getBottomRight()
Bottom-right of the visible region.

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

VisibleRegion

VisibleRegion(@NonNull Point topLeft,
              @NonNull Point topRight,
              @NonNull Point bottomLeft,
              @NonNull Point bottomRight)


VisibleRegion

VisibleRegion()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getTopLeft

@NonNull
Point getTopLeft()

Top-left of the visible region.


getTopRight

@NonNull
Point getTopRight()

Top-right of the visible region.


getBottomLeft

@NonNull
Point getBottomLeft()

Bottom-left of the visible region.


getBottomRight

@NonNull
Point getBottomRight()

Bottom-right of the visible region.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)