Class EnclosedVectorTileGroup

java.lang.Object
com.github.basking2.sdsai.marchinesquares.EnclosedVectorTileGroup
All Implemented Interfaces:
Closeable, AutoCloseable

public class EnclosedVectorTileGroup extends Object implements Closeable
This performs much the same function as the VectorTileGroup but surrounding the shape with a constant field. The effect is that all edges should be closed.
  • Constructor Details

    • EnclosedVectorTileGroup

      public EnclosedVectorTileGroup(byte field, FeatureFactory featureFactory)
  • Method Details

    • addEast

      public void addEast(VectorTile east)
    • addNewRow

      public void addNewRow()
    • addNewRow

      public void addNewRow(VectorTile newTile)
    • getVectorTile

      public VectorTile getVectorTile()
      Close and get the VectorTile.
      Returns:
      The VectorTile.
    • setStitchTiles

      public void setStitchTiles(boolean b)
    • close

      public void close()
      Close the bottom layer of this object.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • getMaxXOffset

      public int getMaxXOffset()
    • getMaxYOffset

      public int getMaxYOffset()