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 voidclear()Texture creator.voiddispose(Collection<Texture> textures) Dispose the given textures.voidvoiddraw(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:TextureManagerTexture creator.- Specified by:
createTexturein interfaceTextureManager- Returns:
- a new
Texture
-
dispose
Description copied from interface:TextureManagerDispose the given textures.- Specified by:
disposein interfaceTextureManager- Parameters:
textures- textures to dispose.
-
dispose
- Specified by:
disposein interfaceTextureManager
-