• About MapKit
    • Getting started
  • Map styles
  • MapKit SDK versions
  • Frequently asked questions
  • Contact us

Package com.yandex.mapkit.geometry

Class Subpolyline

java.lang.Object
    ↳ com.yandex.mapkit.geometry.Subpolyline

class Subpolyline implements Serializable

A part of a polyline.

Summary

Constructors

Signature and Description

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

Subpolyline()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

PolylinePosition

getBegin()
The start of the selected part of the polyline.

PolylinePosition

getEnd()
The end of the selected part of the polyline.

void

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

Constuctors

Subpolyline

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


Subpolyline

Subpolyline()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getBegin

@NonNull
PolylinePosition getBegin()

The start of the selected part of the polyline.


getEnd

@NonNull
PolylinePosition getEnd()

The end of the selected part of the polyline.


serialize

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