G2DCanvas
, JoGLCanvas
public interface Canvas
Modifier and Type | Method | Description |
---|---|---|
void |
destroy() |
Destroy canvas : release Semaphore and associated threads
|
int |
getAntiAliasingLevel() |
Anti-aliasing level getter.
|
BuffersManager |
getBuffersManager() |
Return the buffers manager of this canvas.
|
java.awt.Dimension |
getDimension() |
Return the canvas dimension.
|
int |
getHeight() |
Return the canvas height.
|
Drawer |
getMainDrawer() |
Return the canvas main drawer.
|
PickingManager |
getPickingManager() |
Return the picking manager.
|
RendererManager |
getRendererManager() |
Return the renderer manager.
|
TextureManager |
getTextureManager() |
Texture manger getter.
|
int |
getWidth() |
Return the canvas width.
|
void |
redraw() |
Ask the canvas to perform asynchronous drawing.
|
void |
redrawAndWait() |
Ask the canvas to perform asynchronous drawing.
|
void |
setAntiAliasingLevel(int antiAliasingLevel) |
Anti-aliasing level setter.
|
void |
setMainDrawer(Drawer mainDrawer) |
Set this canvas main drawer.
|
void |
waitImage() |
Wait until a drawing has been performed
|
void setMainDrawer(Drawer mainDrawer)
mainDrawer
- the new canvas main drawer.Drawer getMainDrawer()
RendererManager getRendererManager()
BuffersManager getBuffersManager()
PickingManager getPickingManager()
TextureManager getTextureManager()
int getWidth()
int getHeight()
java.awt.Dimension getDimension()
int getAntiAliasingLevel()
void setAntiAliasingLevel(int antiAliasingLevel)
antiAliasingLevel
- the new level.void redraw()
void redrawAndWait()
void waitImage()
void destroy()