com.b3dgs.lionengine.drawable
Interface Image

All Superinterfaces:
Renderable
All Known Subinterfaces:
AnimatedSprite, FontSprite, Sprite, TiledSprite

public interface Image
extends Renderable

It allows images loading and rendering. Images can't be resized and can't use any filters.


Method Summary
 java.awt.Image getSurface()
          Get the surface which represents the image (java type).
 Image instanciate()
          Get instancied version of current image (faster than clone, but share the same surface).
 
Methods inherited from interface com.b3dgs.lionengine.drawable.Renderable
getHeight, getWidth, render
 

Method Detail

getSurface

java.awt.Image getSurface()
Get the surface which represents the image (java type).

Returns:
java image reference.

instanciate

Image instanciate()
Get instancied version of current image (faster than clone, but share the same surface).

Returns:
instancied image.