Package mil.nga.geopackage.map.geom
Class PolygonHoleMarkers
java.lang.Object
mil.nga.geopackage.map.geom.PolygonHoleMarkers
- All Implemented Interfaces:
ShapeMarkers
Polygon Hole with Markers object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a markervoid
Add the markervoid
Delete the markerGet all markersboolean
Is it deletedboolean
isValid()
Is it validvoid
remove()
Remove from the mapvoid
setMarkers
(List<Marker> markers) Set the markersvoid
setVisible
(boolean visible) Updates visibility of all objectsvoid
setVisibleMarkers
(boolean visible) Updates visibility of the shape representing markersvoid
setZIndex
(float zIndex) Set the z index
-
Constructor Details
-
PolygonHoleMarkers
Constructor- Parameters:
polygonMarkers
- polygon markers
-
-
Method Details
-
add
Add a marker- Parameters:
marker
- marker
-
getMarkers
Get all markers- Specified by:
getMarkers
in interfaceShapeMarkers
- Returns:
- markers
-
setMarkers
Set the markers- Parameters:
markers
- markers
-
remove
public void remove()Remove from the map -
setVisible
public void setVisible(boolean visible) Updates visibility of all objects- Specified by:
setVisible
in interfaceShapeMarkers
- Parameters:
visible
- visible flag
-
setVisibleMarkers
public void setVisibleMarkers(boolean visible) Updates visibility of the shape representing markers- Specified by:
setVisibleMarkers
in interfaceShapeMarkers
- Parameters:
visible
- visible flag
-
setZIndex
public void setZIndex(float zIndex) Set the z index- Specified by:
setZIndex
in interfaceShapeMarkers
- Parameters:
zIndex
- z index
-
isValid
public boolean isValid()Is it valid- Returns:
- true if valid
-
isDeleted
public boolean isDeleted()Is it deleted- Returns:
- true if deleted
-
delete
Delete the marker- Specified by:
delete
in interfaceShapeMarkers
- Parameters:
marker
- marker
-
addNew
Add the marker- Specified by:
addNew
in interfaceShapeMarkers
- Parameters:
marker
- marker
-