javax.microedition.lcdui
Class Image

java.lang.Object
  extended by javax.microedition.lcdui.Image


public class Image
extends Object


Method Summary
static Image createImage(byte[] imageData, int imageOffset, int imageLength)
           
static Image createImage(Image source)
           
static Image createImage(Image image, int x, int y, int width, int height, int transform)
           
static Image createImage(InputStream stream)
           
static Image createImage(int width, int height)
           
static Image createImage(String name)
           
static Image createRGBImage(int[] rgb, int width, int height, boolean processAlpha)
           
 Graphics getGraphics()
           
 int getHeight()
           
 void getRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height)
           
 int getWidth()
           
 boolean isMutable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createImage

public static Image createImage(int width,
                                int height)

createImage

public static Image createImage(Image source)

createImage

public static Image createImage(String name)
                         throws IOException
Throws:
IOException

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(InputStream stream)
                         throws IOException
Throws:
IOException

getGraphics

public Graphics getGraphics()

getWidth

public int getWidth()

getHeight

public int getHeight()

isMutable

public boolean isMutable()

createRGBImage

public static Image createRGBImage(int[] rgb,
                                   int width,
                                   int height,
                                   boolean processAlpha)

getRGB

public void getRGB(int[] rgbData,
                   int offset,
                   int scanlength,
                   int x,
                   int y,
                   int width,
                   int height)