com.nutiteq.wrappers.rimui
Class Image
java.lang.Object
com.nutiteq.wrappers.rimui.Image
public class Image
- extends java.lang.Object
Wrapper around Bitmap class to have similar interface to J2ME Image class.
|
Method Summary |
static Image |
createImage(byte[] imageData,
int offset,
int length)
|
static Image |
createImage(Image source,
int x,
int y,
int width,
int height,
int transform)
|
static Image |
createImage(java.io.InputStream is)
|
static Image |
createImage(int imageWidth,
int imageHeight)
|
static Image |
createImage(java.lang.String image)
|
Graphics |
getGraphics()
|
int |
getHeight()
|
net.rim.device.api.system.Bitmap |
getNativeImage()
|
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(java.lang.String image)
throws java.io.IOException
- Throws:
java.io.IOException
createImage
public static Image createImage(byte[] imageData,
int offset,
int length)
createImage
public static Image createImage(int imageWidth,
int imageHeight)
createImage
public static Image createImage(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
createImage
public static Image createImage(Image source,
int x,
int y,
int width,
int height,
int transform)
getWidth
public int getWidth()
getHeight
public int getHeight()
getGraphics
public Graphics getGraphics()
getRGB
public void getRGB(int[] rgbData,
int offset,
int scanlength,
int x,
int y,
int width,
int height)
getNativeImage
public net.rim.device.api.system.Bitmap getNativeImage()