Class MultiPolygon

com.yandex.mapkit.geometry

java.lang.Object ⇽ MultiPolygon

public class MultiPolygon

An area consisting of multiple external polygons.

Constructors

MultiPolygon()

Use constructor with parameters in your code.

MultiPolygon(_NonNull List< Polygon > polygons)

Methods

String getNativeName()
synchronized List< Polygon > getPolygons()
void serialize(Archive archive)

Constructor Detail

MultiPolygon

public MultiPolygon ()

Use constructor with parameters in your code.

This one is for serialization only!

MultiPolygon

public MultiPolygon (@NonNull List< Polygon > polygons)

Method Detail

getNativeName

public static String getNativeName ()

getPolygons

public synchronized List< Polygon > getPolygons ()

serialize

public void serialize (Archive archive)