public class DefaultMapContextDrawer extends java.lang.Object implements MapContextDrawer
Modifier and Type | Class and Description |
---|---|
class |
DefaultMapContextDrawer.CachedImage |
class |
DefaultMapContextDrawer.DrawList |
static class |
DefaultMapContextDrawer.RegisterMapContextDrawer |
Constructor and Description |
---|
DefaultMapContextDrawer() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkInitialized() |
protected void |
clean() |
void |
dispose() |
void |
draw(FLayers root,
java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
Cancellable cancel,
double scale) |
boolean |
isPrintGraphicsLayer() |
void |
print(FLayers root,
java.awt.Graphics2D g,
Cancellable cancel,
double scale,
PrintAttributes properties) |
void |
setMapContext(MapContext mapContext) |
void |
setPrintGraphicsLayer(boolean b) |
void |
setViewPort(ViewPort viewPort) |
protected void checkInitialized()
public void draw(FLayers root, java.awt.image.BufferedImage image, java.awt.Graphics2D g, Cancellable cancel, double scale) throws ReadException
draw
in interface MapContextDrawer
ReadException
public void setMapContext(MapContext mapContext)
setMapContext
in interface MapContextDrawer
public void setViewPort(ViewPort viewPort)
setViewPort
in interface MapContextDrawer
protected void clean()
public boolean isPrintGraphicsLayer()
isPrintGraphicsLayer
in interface MapContextDrawer
public void setPrintGraphicsLayer(boolean b)
setPrintGraphicsLayer
in interface MapContextDrawer
public void dispose()
dispose
in interface MapContextDrawer
public void print(FLayers root, java.awt.Graphics2D g, Cancellable cancel, double scale, PrintAttributes properties) throws ReadException
print
in interface MapContextDrawer
ReadException