|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.render.NiftyImage
public class NiftyImage
NiftyImage.
| Constructor Summary | |
|---|---|
NiftyImage(NiftyRenderEngine niftyRenderEngine,
RenderImage createImage)
create new NiftyImage. |
|
| Method Summary | |
|---|---|
void |
dispose()
Dispose the resources kept by this image. |
int |
getHeight()
Get the height of the image. |
int |
getWidth()
Get the width of the image. |
void |
reload()
Reload the image data. |
void |
render(int x,
int y,
int width,
int height,
Color color,
float scale)
Render the image using the given Box to specify the render attributes. |
void |
setImageMode(ImageMode imageMode)
Set a new sub image active state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NiftyImage(NiftyRenderEngine niftyRenderEngine,
RenderImage createImage)
createImage - RenderImage| Method Detail |
|---|
public int getWidth()
public int getHeight()
public void render(int x,
int y,
int width,
int height,
Color color,
float scale)
x - xy - ywidth - widthheight - heightcolor - colorscale - scalepublic void setImageMode(ImageMode imageMode)
imageMode - new typepublic void reload()
public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||