Class MapPolygonWithHoles

java.lang.Object
journeymap.api.v2.client.model.MapPolygonWithHoles

public class MapPolygonWithHoles extends Object
This is a simple convenience wrapper for an outer MapPolygon and a list of holes.
  • Field Details

  • Constructor Details

    • MapPolygonWithHoles

      public MapPolygonWithHoles(@Nonnull MapPolygon hull, @Nullable List<MapPolygon> holes)
      Creates a MapPolygonWithHoles.
      Parameters:
      hull - The outer hull of the polygon.
      holes - Intersecting polygons representing holes in the hull.