public interface IImageDrawer extends IRenderTarget
IRenderTarget.LayerType
Modifier and Type | Method and Description |
---|---|
void |
prepareImage(int width,
int height)
Invoked before starting to draw an image.
|
void |
saveImage(java.lang.String path)
Invoked once image drawing is over.
|
invalidate, invalidate
void prepareImage(int width, int height)
width
- the image width.height
- the image height.void saveImage(java.lang.String path) throws java.io.IOException
path
- the image destination.java.io.IOException
- when an I/O operation fails.