|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.implementation.g2d.texture.G2DTextureManager
public class G2DTextureManager
Nested Class Summary | |
---|---|
class |
G2DTextureManager.G2DTexture
Inner class for Texture implementation. |
Constructor Summary | |
---|---|
G2DTextureManager(G2DCanvas canvas)
|
Method Summary | |
---|---|
Texture |
createTexture()
Texture creator. |
void |
dispose(java.util.Collection<Texture> textures)
Dispose the given textures. |
void |
dispose(Texture texture)
|
void |
draw(G2DDrawingTools drawingTools,
Texture texture)
Draw the given texture. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public G2DTextureManager(G2DCanvas canvas)
Method Detail |
---|
public void draw(G2DDrawingTools drawingTools, Texture texture) throws SciRendererException
drawingTools
- used drawing tools.texture
- the texture too drawn.
SciRendererException
- if the texture is invalid.public Texture createTexture()
TextureManager
createTexture
in interface TextureManager
Texture
public void dispose(java.util.Collection<Texture> textures)
TextureManager
dispose
in interface TextureManager
textures
- textures to dispose.public void dispose(Texture texture)
dispose
in interface TextureManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |