|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--brf.j2me.dynaworks.util.Bitmap
The Bitmap class can hold raster images.
| Field Summary | |
private int |
bpp
bits per pixel (color depth). |
private byte[] |
data
bitmap data. |
private int |
height
height of the bitmap. |
private int |
width
width of the bitmap. |
| Constructor Summary | |
Bitmap(int w,
int h,
byte[] data)
constructor. |
|
| Method Summary | |
byte[] |
getData()
get the bitmap data. |
int |
getHeight()
get the height of the bitmap. |
int |
getWidth()
get the width of the bitmap. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int width
private int height
private int bpp
private byte[] data
| Constructor Detail |
public Bitmap(int w,
int h,
byte[] data)
w - int - width of the image.h - int - height of the image.data - byte[] - array of pixels.| Method Detail |
public int getWidth()
public int getHeight()
public byte[] getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||