Class VisibleRegion

com.yandex.mapkit.map

java.lang.Object ⇽ VisibleRegion

public class VisibleRegion

Defines the visible region.

Constructors

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

Use constructor with parameters in your code.

Methods

Point getBottomLeft()

Bottom-left of the visible region.

Point getBottomRight()

Bottom-right of the visible region.

Point getTopLeft()

Top-left of the visible region.

Point getTopRight()

Top-right of the visible region.

void serialize(Archive archive)

Constructor Detail

VisibleRegion

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

VisibleRegion

public VisibleRegion ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getBottomLeft

public Point getBottomLeft ()

Bottom-left of the visible region.

getBottomRight

public Point getBottomRight ()

Bottom-right of the visible region.

getTopLeft

public Point getTopLeft ()

Top-left of the visible region.

getTopRight

public Point getTopRight ()

Top-right of the visible region.

serialize

public void serialize (Archive archive)