org.scilab.forge.scirenderer.implementation.g2d.texture
Class G2DTextureManager
java.lang.Object
org.scilab.forge.scirenderer.implementation.g2d.texture.G2DTextureManager
- All Implemented Interfaces:
- TextureManager
public class G2DTextureManager
- extends java.lang.Object
- implements TextureManager
- Author:
- Calixte DENIZET
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
G2DTextureManager
public G2DTextureManager(G2DCanvas canvas)
clear
public static void clear()
draw
public void draw(G2DDrawingTools drawingTools,
Texture texture)
throws SciRendererException
- Draw the given texture.
- Parameters:
drawingTools
- used drawing tools.texture
- the texture too drawn.
- Throws:
SciRendererException
- if the texture is invalid.
createTexture
public Texture createTexture()
- Description copied from interface:
TextureManager
- Texture creator.
- Specified by:
createTexture
in interface TextureManager
- Returns:
- a new
Texture
dispose
public void dispose(java.util.Collection<Texture> textures)
- Description copied from interface:
TextureManager
- Dispose the given textures.
- Specified by:
dispose
in interface TextureManager
- Parameters:
textures
- textures to dispose.
dispose
public void dispose(Texture texture)
- Specified by:
dispose
in interface TextureManager