public class AwtTileBitmap extends AwtBitmap implements org.mapsforge.core.graphics.TileBitmap
Constructor and Description |
---|
AwtTileBitmap(java.awt.image.BufferedImage bufferedImage) |
AwtTileBitmap(java.io.InputStream inputStream) |
AwtTileBitmap(int tileSize) |
AwtTileBitmap(int tileSize,
boolean hasAlpha) |
Modifier and Type | Method and Description |
---|---|
long |
getTimestamp() |
boolean |
isExpired() |
void |
setExpiration(long expiration) |
void |
setTimestamp(long timestamp) |
compress, decrementRefCount, getHeight, getWidth, incrementRefCount, isDestroyed, scaleTo, setBackgroundColor
public AwtTileBitmap(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
public AwtTileBitmap(int tileSize)
public AwtTileBitmap(int tileSize, boolean hasAlpha)
public AwtTileBitmap(java.awt.image.BufferedImage bufferedImage)
public long getTimestamp()
getTimestamp
in interface org.mapsforge.core.graphics.TileBitmap
public boolean isExpired()
isExpired
in interface org.mapsforge.core.graphics.TileBitmap
public void setExpiration(long expiration)
setExpiration
in interface org.mapsforge.core.graphics.TileBitmap
public void setTimestamp(long timestamp)
setTimestamp
in interface org.mapsforge.core.graphics.TileBitmap