目录

public class Tile

Defines the minimum unit of a tile overlay. To create a Tile object, call the TileProvider method.

Public Fields

NameTypeDescription
databyte[]A byte array containing image data. To create the image, call the decodeByteArray(byte[], int, int) method in the BitmapFactory class.
heightintHeight of a tile, in pixels.
widthintWidth of a tile, in pixels.

Constructor

Construction Method
Tile(int width, int height, byte[] data)

Public Method Summary

Return typeMethod name
voidwriteToParcel(Parcel out, int flags)