Class PolygonHoleMarkers

java.lang.Object
mil.nga.geopackage.map.geom.PolygonHoleMarkers
All Implemented Interfaces:
ShapeMarkers

public class PolygonHoleMarkers extends Object implements ShapeMarkers
Polygon Hole with Markers object
  • Constructor Details

    • PolygonHoleMarkers

      public PolygonHoleMarkers(PolygonMarkers polygonMarkers)
      Constructor
      Parameters:
      polygonMarkers - polygon markers
  • Method Details

    • add

      public void add(Marker marker)
      Add a marker
      Parameters:
      marker - marker
    • getMarkers

      public List<Marker> getMarkers()
      Get all markers
      Specified by:
      getMarkers in interface ShapeMarkers
      Returns:
      markers
    • setMarkers

      public void setMarkers(List<Marker> markers)
      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 interface ShapeMarkers
      Parameters:
      visible - visible flag
    • setVisibleMarkers

      public void setVisibleMarkers(boolean visible)
      Updates visibility of the shape representing markers
      Specified by:
      setVisibleMarkers in interface ShapeMarkers
      Parameters:
      visible - visible flag
    • setZIndex

      public void setZIndex(float zIndex)
      Set the z index
      Specified by:
      setZIndex in interface ShapeMarkers
      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

      public void delete(Marker marker)
      Delete the marker
      Specified by:
      delete in interface ShapeMarkers
      Parameters:
      marker - marker
    • addNew

      public void addNew(Marker marker)
      Add the marker
      Specified by:
      addNew in interface ShapeMarkers
      Parameters:
      marker - marker