public class LayoutInfo
extends java.lang.Object
| Constructor and Description |
|---|
LayoutInfo(@NotNull MapFile mapFile,
int x,
int y)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull MapFile |
getMapFile()
Returns the
MapFile that identifies the map. |
int |
getX()
Returns the x coordinate of the left border of the map within the final
image.
|
int |
getY()
Returns the y coordinate of the top border of the map within the final
image.
|
@NotNull java.lang.String |
toString() |
public LayoutInfo(@NotNull
@NotNull MapFile mapFile,
int x,
int y)
mapFile - the map file that identifies the mapx - the x coordinate of the left border of the map within the final
image; may be negativey - the y coordinate of the top border of the map within the final
image; may be negative@NotNull public @NotNull MapFile getMapFile()
MapFile that identifies the map.public int getX()
public int getY()
@NotNull public @NotNull java.lang.String toString()
toString in class java.lang.Object