public class ThreadSafeImage
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static interface |
ThreadSafeImage.Drawer |
Constructor and Description |
---|
ThreadSafeImage(LayerViewPanel panel) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
If the panel is not ready, returns null.
|
void |
copyTo(java.awt.Graphics2D destination,
java.awt.image.ImageObserver imageObserver) |
void |
draw(ThreadSafeImage.Drawer drawer) |
GraphicsState |
getGraphicsState() |
void |
setGraphicsState(GraphicsState gs) |
public ThreadSafeImage(LayerViewPanel panel)
public void copyTo(java.awt.Graphics2D destination, java.awt.image.ImageObserver imageObserver)
public void draw(ThreadSafeImage.Drawer drawer) throws java.lang.Exception
java.lang.Exception
public GraphicsState getGraphicsState()
public void setGraphicsState(GraphicsState gs)
public java.lang.Object clone()
clone
in class java.lang.Object