Class Rect

com.yandex.mapkit.map

java.lang.Object ⇽ Rect

public class Rect

The rectangle to display on the map.

Constructors

Rect(@NonNull PointF min, @NonNull PointF max)
Rect()

Use constructor with parameters in your code.

Methods

PointF getMax()

Maximum rectangle coordinates.

PointF getMin()

Minimum rectangle coordinates.

void serialize(Archive archive)

Constructor Detail

Rect

public Rect (@NonNull PointF min, @NonNull PointF max)

Rect

public Rect ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getMax

public PointF getMax ()

Maximum rectangle coordinates.

getMin

public PointF getMin ()

Minimum rectangle coordinates.

serialize

public void serialize (Archive archive)