net.avh4.framework.uilayer.scene
Class SceneImage
java.lang.Object
net.avh4.framework.uilayer.scene.SceneElement
net.avh4.framework.uilayer.scene.SceneImage
public class SceneImage
- extends SceneElement
|
Constructor Summary |
SceneImage(int x,
int y,
int width,
int height,
String imageName)
|
SceneImage(int x,
int y,
int width,
int height,
String imageName,
int clipX,
int clipY,
int clipWidth,
int clipHeight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
image
protected final String image
clipX
protected int clipX
clipY
protected int clipY
clipWidth
protected final int clipWidth
clipHeight
protected final int clipHeight
SceneImage
public SceneImage(int x,
int y,
int width,
int height,
String imageName)
- Parameters:
imageName - The image specified must exist on the classpath in the default
package.
SceneImage
public SceneImage(int x,
int y,
int width,
int height,
String imageName,
int clipX,
int clipY,
int clipWidth,
int clipHeight)
- Parameters:
imageName - The image specified must exist on the classpath in the default
package.
setPosition
public void setPosition(int x,
int y)
setClipPosition
public void setClipPosition(int clipX,
int clipY)
Copyright © 2011. All Rights Reserved.