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

Package com.yandex.mapkit.geometry

Class LinearRing

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

class LinearRing implements Serializable

A sequence of four or more vertices, with all points along the linearly-interpolated curves (line segments) between each pair of consecutive vertices.

A ring must have either 0, 4 or more points. The first and last points of the ring must be in the same position. The ring must not intersect with itself.

Summary

Constructors

Signature and Description

LinearRing()
Use constructor with parameters in your code.

LinearRing(@NonNull java.util.List<Point> points)

Methods

Type and modifiers

Method and Description

synchronized java.util.List<Point>

getPoints()
The list of points to connect.

void

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

static java.lang.String

getNativeName()

Constuctors

LinearRing

LinearRing()

Use constructor with parameters in your code.

This one is for serialization only!


LinearRing

LinearRing(@NonNull java.util.List<Point> points)


Methods

getPoints

@NonNull
java.util.List<Point> getPoints()

The list of points to connect.


serialize

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


getNativeName

java.lang.String getNativeName()