|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.microedition.lcdui.Image
This holds an image
| Method Summary | |
static Image |
createImage(byte[] data,
int offset,
int length)
Create an image from some data |
static Image |
createImage(Image source)
Create an image from another image |
static Image |
createImage(int width,
int height)
Create an image of a width and height |
static Image |
createImage(java.lang.String name)
Create an image from the named resource |
Graphics |
getGraphics()
Get the graphics for an image |
int |
getHeight()
Get the height |
int |
getWidth()
Get the width |
boolean |
isMutable()
Return if this is mutable |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Image createImage(byte[] data,
int offset,
int length)
data - the dataoffset - The offset into the datalength - The length of the data
public static Image createImage(Image source)
source - The source
public static Image createImage(int width,
int height)
width - The widthheight - The height
public static Image createImage(java.lang.String name)
throws IOException
name - The resource
IOException - if there is an errorpublic Graphics getGraphics()
public int getHeight()
public int getWidth()
public boolean isMutable()
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||