|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Drawable
Defines Object-behaviour for use with Display.drawImage()
.
Method Summary | |
---|---|
void |
draw(Graphics g,
int x,
int y)
Draws the Object at defined position with its natural size. |
void |
draw(Graphics g,
int x,
int y,
int w,
int h,
int xoff,
int yoff)
Draws the Object at defined position, dimension and offset. |
Method Detail |
---|
void draw(Graphics g, int x, int y)
g
- the Graphics to usex
- koordinatey
- koordinatevoid draw(Graphics g, int x, int y, int w, int h, int xoff, int yoff)
g
- the Graphics to usex
- koordinatey
- koordinatew
- widthh
- heightxoff
- offsetyoff
- offset
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |