Class G2DTextureManager
java.lang.Object
org.scilab.forge.scirenderer.implementation.g2d.texture.G2DTextureManager
- All Implemented Interfaces:
TextureManager
- Author:
- Calixte DENIZET
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
Texture creator.void
dispose
(Collection<Texture> textures) Dispose the given textures.void
void
draw
(G2DDrawingTools drawingTools, Texture texture) Draw the given texture.
-
Constructor Details
-
G2DTextureManager
-
-
Method Details
-
clear
public static void clear() -
draw
Draw the given texture.- Parameters:
drawingTools
- used drawing tools.texture
- the texture too drawn.- Throws:
SciRendererException
- if the texture is invalid.
-
createTexture
Description copied from interface:TextureManager
Texture creator.- Specified by:
createTexture
in interfaceTextureManager
- Returns:
- a new
Texture
-
dispose
Description copied from interface:TextureManager
Dispose the given textures.- Specified by:
dispose
in interfaceTextureManager
- Parameters:
textures
- textures to dispose.
-
dispose
- Specified by:
dispose
in interfaceTextureManager
-