public class RasterImageRenderer extends ImageCachingRenderer
Renderer.ContentDependendFactory, Renderer.Factory
Modifier and Type | Field and Description |
---|---|
protected boolean |
doneRendering |
cancelled, image, panel, rendering
Constructor and Description |
---|
RasterImageRenderer(java.lang.Object contentID,
LayerViewPanel panel) |
Modifier and Type | Method and Description |
---|---|
void |
copyTo(java.awt.Graphics2D graphics) |
java.lang.Runnable |
createRunnable() |
ThreadSafeImage |
getImage() |
protected RasterImageLayer |
getRasterImageLayer() |
protected void |
renderHook(ThreadSafeImage image) |
cancel, clearImageCache, getContentID, isRendering
public RasterImageRenderer(java.lang.Object contentID, LayerViewPanel panel)
contentID
- panel
- protected RasterImageLayer getRasterImageLayer()
public ThreadSafeImage getImage()
getImage
in class ImageCachingRenderer
public java.lang.Runnable createRunnable()
createRunnable
in interface Renderer
createRunnable
in class ImageCachingRenderer
public void copyTo(java.awt.Graphics2D graphics)
copyTo
in interface Renderer
copyTo
in class ImageCachingRenderer
protected void renderHook(ThreadSafeImage image) throws java.lang.Exception
renderHook
in class ImageCachingRenderer
image
- java.lang.Exception