Class EnclosedVectorTileGroup
java.lang.Object
com.github.basking2.sdsai.marchinesquares.EnclosedVectorTileGroup
- All Implemented Interfaces:
Closeable
,AutoCloseable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEast
(VectorTile east) void
void
addNewRow
(VectorTile newTile) void
close()
Close the bottom layer of this object.int
int
Close and get theVectorTile
.void
setStitchTiles
(boolean b)
-
Constructor Details
-
EnclosedVectorTileGroup
-
-
Method Details
-
addEast
-
addNewRow
public void addNewRow() -
addNewRow
-
getVectorTile
Close and get theVectorTile
.- Returns:
- The
VectorTile
.
-
setStitchTiles
public void setStitchTiles(boolean b) -
close
public void close()Close the bottom layer of this object.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getMaxXOffset
public int getMaxXOffset() -
getMaxYOffset
public int getMaxYOffset()
-