public class MapTile
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
MapTile(int x,
int y,
int zoom,
int frameNr)
Constructs a MapTile object based on coordinates, zoom level and frame number.
|
MapTile(int x,
int y,
int zoom,
int size,
int frameNr)
Constructs a MapTile object based on coordinates, zoom level and frame number.
|
MapTile(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
static long |
getCPtr(MapTile obj) |
int |
getFrameNr()
Returns the time of this map tile.
|
int |
getRatio()
Returns the ratio of this map tile.
|
int |
getSize()
Returns the size of this map tile.
|
long |
getTileId()
Returns the internal tile id of this map tile.
|
int |
getX()
Returns the x coordinate of this map tile.
|
int |
getY()
Returns the y coordinate of this map tile.
|
int |
getZoom()
Returns the zoom level of this map tile.
|
int |
hashCode()
Returns the hash value of this object.
|
java.lang.String |
toString()
Creates a string representation of this map tile, useful for logging.
|
public MapTile(long cPtr, boolean cMemoryOwn)
public MapTile(int x, int y, int zoom, int frameNr)
x
- The x coordinate of the tile.y
- The y coordinate of the tile.zoom
- The zoom level of the tile.frameNr
- The frame number of the tile.public MapTile(int x, int y, int zoom, int size, int frameNr)
x
- The x coordinate of the tile.y
- The y coordinate of the tile.zoom
- The zoom level of the tile.size
- The size of the tile.frameNr
- The frame number of the tile.public static long getCPtr(MapTile obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public int getX()
public int getY()
public int getZoom()
public int getFrameNr()
public int getRatio()
public int getSize()
public long getTileId()
public java.lang.String toString()
toString
在类中 java.lang.Object