Package mil.nga.geopackage.map.geom
Class MultiPolygon
- java.lang.Object
-
- mil.nga.geopackage.map.geom.MultiPolygon
-
public class MultiPolygon extends Object
Multiple Polygon object
-
-
Constructor Summary
Constructors Constructor Description MultiPolygon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Polygon polygon)Add a polygonList<Polygon>getPolygons()Get the polygonsvoidremove()Remove from the mapvoidsetPolygons(List<Polygon> polygons)Set the polygonsvoidsetVisible(boolean visible)Set visibility on the mapvoidsetZIndex(float zIndex)Set the z index
-
-
-
Method Detail
-
add
public void add(Polygon polygon)
Add a polygon- Parameters:
polygon- polygon
-
setPolygons
public void setPolygons(List<Polygon> polygons)
Set the polygons- Parameters:
polygons- list of polygons
-
remove
public void remove()
Remove from the map
-
setVisible
public void setVisible(boolean visible)
Set visibility on the map- Parameters:
visible- visibility flag- Since:
- 1.3.2
-
setZIndex
public void setZIndex(float zIndex)
Set the z index- Parameters:
zIndex- z index- Since:
- 2.0.1
-
-