public interface IOverlay
| Modifier and Type | Method and Description |
|---|---|
void |
drawOverlay(Graphics dest,
int updateX,
int updateY,
int updateWidth,
int updateHeight)
This is called to tell the IOverlay to draw itself onto the surface with the provided Graphics.
|
void drawOverlay(Graphics dest, int updateX, int updateY, int updateWidth, int updateHeight)
dest - the destination Graphics, which will be translated such that 0,0 on the Graphics is
0,0 on the destination surface.updateX - the x co-ordinate of the area being updated on the surface.updateY - the y co-ordinate of the area being updated on the surface.updateWidth - the width of the area being updated on the surface.updateHeight - the height of the area being updated on the surface.