com.incrediblesoft.redjey
Class CustomImage
java.lang.Object
com.incrediblesoft.redjey.CustomImage
public class CustomImage
- extends java.lang.Object
Constructor Summary |
CustomImage(CustomImage customImage,
int x,
int y,
int width,
int height)
|
CustomImage(java.util.Hashtable styleDesc)
|
CustomImage(javax.microedition.lcdui.Image image)
|
CustomImage(javax.microedition.lcdui.Image image,
int frameWidth,
int frameHeight)
|
CustomImage(javax.microedition.lcdui.Image image,
int frameWidth,
int frameHeight,
int framerate)
|
CustomImage(javax.microedition.lcdui.Image image,
int x,
int y,
int width,
int height)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
image
public javax.microedition.lcdui.Image image
x
public int x
y
public int y
width
public int width
height
public int height
CustomImage
public CustomImage(javax.microedition.lcdui.Image image)
CustomImage
public CustomImage(javax.microedition.lcdui.Image image,
int frameWidth,
int frameHeight)
CustomImage
public CustomImage(javax.microedition.lcdui.Image image,
int frameWidth,
int frameHeight,
int framerate)
CustomImage
public CustomImage(javax.microedition.lcdui.Image image,
int x,
int y,
int width,
int height)
CustomImage
public CustomImage(CustomImage customImage,
int x,
int y,
int width,
int height)
CustomImage
public CustomImage(java.util.Hashtable styleDesc)
getWidth
public int getWidth()
getHeight
public int getHeight()
setFramerate
public void setFramerate(int framerate)
setNumFrames
public void setNumFrames(int numFrames)
- Sets the maximum number of frames. Used when some last frames in sequence are empty.
- Parameters:
numFrames
-
tick
public void tick(int dt)
paint
public void paint(javax.microedition.lcdui.Graphics g,
int x,
int y,
int alignment)
clone
public CustomImage clone()
- Overrides:
clone
in class java.lang.Object