javax.microedition.lcdui
Class Image
java.lang.Object
javax.microedition.lcdui.Image
public class Image
- extends java.lang.Object
|
Method Summary |
static Image |
createImage(byte[] imageData,
int imageOffset,
int imageLength)
|
static Image |
createImage(Image image,
int x,
int y,
int width,
int height,
int transform)
|
static Image |
createImage(java.io.InputStream stream)
|
static Image |
createImage(int width,
int height)
|
static Image |
createImage(java.lang.String name)
|
android.graphics.Bitmap |
getBitmap()
|
Graphics |
getGraphics()
|
int |
getHeight()
|
void |
getRGB(int[] rgbData,
int offset,
int scanlength,
int x,
int y,
int width,
int height)
|
int |
getWidth()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createImage
public static Image createImage(byte[] imageData,
int imageOffset,
int imageLength)
createImage
public static Image createImage(Image image,
int x,
int y,
int width,
int height,
int transform)
createImage
public static Image createImage(int width,
int height)
createImage
public static Image createImage(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
createImage
public static Image createImage(java.io.InputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
getGraphics
public Graphics getGraphics()
getHeight
public int getHeight()
getWidth
public int getWidth()
getRGB
public void getRGB(int[] rgbData,
int offset,
int scanlength,
int x,
int y,
int width,
int height)
getBitmap
public android.graphics.Bitmap getBitmap()