• О MapKit
    • Начало работы
  • Стили карты
  • Версии MapKit
  • Часто задаваемые вопросы
  • Обратная связь

Package com.yandex.mapkit.geometry

Class Polygon

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

class Polygon implements Serializable

A polygon with one or more polygons in it.

The exterior and interior areas are specified using LinearRing.

Summary

Constructors

Signature and Description

Polygon()
Use constructor with parameters in your code.

Polygon(@NonNull LinearRing outerRing,
        @NonNull java.util.List<LinearRing> innerRings)

Methods

Type and modifiers

Method and Description

synchronized LinearRing

getOuterRing()
The ring specifying the area.

synchronized java.util.List<LinearRing>

getInnerRings()
The list of rings in the specified area.

void

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

static java.lang.String

getNativeName()

Constuctors

Polygon

Polygon()

Use constructor with parameters in your code.

This one is for serialization only!


Polygon

Polygon(@NonNull LinearRing outerRing,
        @NonNull java.util.List<LinearRing> innerRings)


Methods

getOuterRing

@NonNull
LinearRing getOuterRing()

The ring specifying the area.


getInnerRings

@NonNull
java.util.List<LinearRing> getInnerRings()

The list of rings in the specified area.


serialize

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


getNativeName

java.lang.String getNativeName()


Предыдущая
Следующая