|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The ImageLoader interface. Different Java profiles have different methods to load raster images. This interface is wrapper that hides such differences.
| Method Summary | |
TinyBuffer |
createTinyBuffer(byte[] imageData,
int imageOffset,
int imageLength)
Creates a TinyBuffer which decodes the image stored in the specified byte array, and at the specified offset and length. |
TinyBuffer |
createTinyBuffer(TinyString imgRef)
Returns a TinyBuffer for the given image URL or path. |
| Method Detail |
public TinyBuffer createTinyBuffer(TinyString imgRef)
imgRef - The image URL or path.
public TinyBuffer createTinyBuffer(byte[] imageData,
int imageOffset,
int imageLength)
imageData - an array of bytes, representing
image data in a supported image format.imageOffset - the offset of the beginning
of the data in the array.imageLength - the length of the data in the array.
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||