Class Info |
|---|
public class Tile Defines the minimum unit of a TileOverlay object. To create a Tile object, call the getTile method of TileProvider. |
Qualifier and Type | Field and Description |
|---|---|
byte[] | data A byte array containing image data. To create the image, call the decodeByteArray(byte[], int, int) method in the BitmapFactory class. |
int | height Tile height, in pixels. |
int | width Tile width, in pixels. |
Constructor Name |
|---|
Tile(int width, int height, byte[] data) Creates a Tile object based on specified parameters. |
Qualifier and Type | Method Name and Description |
|---|---|
int | describeContents() Returns the description of the current object. By default, 0 is returned. |
void | writeToParcel(Parcel out, int flags) Serializes data. |
Constructor |
|---|
public Tile(int width, int height, byte[] data) Creates a Tile object based on specified parameters. |
Parameters
Name | Description |
|---|---|
width | Tile width, in pixels. |
height | Tile height, in pixels. |
data | A byte array containing image data. To create the image, call the decodeByteArray(byte[], int, int) method in the BitmapFactory class. |