Class Subpolyline

com.yandex.mapkit.geometry

java.lang.Object ⇽ Subpolyline

public class Subpolyline

A part of a polyline.

Constructors

Subpolyline(@NonNull PolylinePosition begin, @NonNull PolylinePosition end)
Subpolyline()

Use constructor with parameters in your code.

Methods

PolylinePosition getBegin()

The start of the selected part of the polyline.

PolylinePosition getEnd()

The end of the selected part of the polyline.

void serialize(Archive archive)

Constructor Detail

Subpolyline

public Subpolyline (@NonNull PolylinePosition begin, @NonNull PolylinePosition end)

Subpolyline

public Subpolyline ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getBegin

public PolylinePosition getBegin ()

The start of the selected part of the polyline.

getEnd

public PolylinePosition getEnd ()

The end of the selected part of the polyline.

serialize

public void serialize (Archive archive)