public final class Tile
extends java.lang.Object
implements android.os.Parcelable
public static final com.amap.api.maps.model.TileCreator CREATOR
public final int width
public final int height
public final byte[] data
public Tile(int width, int height, byte[] data)
width
- 图片的像素宽度,单位像素pixel。height
- 图片的像素高度,单位像素pixel。data
- 包含图片数据的字节数组,这个图片可以通过调用类BitmapFactory的decodeByteArray(byte[], int, int)方法来创建。public static Tile obtain(int width, int height, byte[] data)
public void recycle()