Summary
| Fields |
|
public
final
byte[] |
data |
The image for the Tile encoded as a byte array. |
|
public
final
int |
height |
The height in pixels of the image encoded by data. |
|
public
final
int |
width |
The width in pixels of the image encoded by data. |
| Public Constructors |
|
|
Tile(int width, int height, byte[] data)
Creates a new Tile object.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
public
final
byte[]
data
The image for the Tile encoded as a byte array.
public
final
int
height
The height in pixels of the image encoded by data.
public
final
int
width
The width in pixels of the image encoded by data.
Public Constructors
public
Tile
(int width, int height, byte[] data)
Creates a new Tile object.
Parameters
| width |
The width of the image in pixels. |
| height |
The height of the image in pixels. |
| data |
The image for the Tile encoded as a byte array. The
image is created by calling
decodeByteArray(byte[], int, int).
|
Public Methods
public
int
describeContents
()
public
void
writeToParcel
(Parcel out, int flags)