public class DefaultMapContextDrawer extends 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,
BufferedImage image,
Graphics2D g,
Cancellable cancel,
double scale) |
void |
print(FLayers root,
Graphics2D g,
Cancellable cancel,
double scale,
PrintAttributes properties) |
void |
setMapContext(MapContext mapContext) |
void |
setViewPort(ViewPort viewPort) |
protected void checkInitialized()
public void draw(FLayers root, BufferedImage image, 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 void dispose()
dispose
in interface MapContextDrawer
public void print(FLayers root, Graphics2D g, Cancellable cancel, double scale, PrintAttributes properties) throws ReadException
print
in interface MapContextDrawer
ReadException