public abstract static class TileRenderer.TileRenderContext extends Object
Modifier and Type | Field and Description |
---|---|
com.vividsolutions.jts.geom.Envelope |
bbox
Bounding box of the rendered tile in WGS84 CRS, w/o margins
|
Graph |
graph
The graph being processed
|
Graphics2D |
graphics
Graphics where to paint tile to, in pixel CRS (no transform set)
|
double |
metersPerPixel
Ground pixel density inverse
|
int |
tileHeight
Tile size in pixels
|
int |
tileWidth
Tile size in pixels
|
com.vividsolutions.jts.geom.util.AffineTransformation |
transform
The JTS transform that convert from WGS84 CRS to pixel CRS
|
Constructor and Description |
---|
TileRenderContext() |
Modifier and Type | Method and Description |
---|---|
abstract com.vividsolutions.jts.geom.Envelope |
expandPixels(double marginXPixels,
double marginYPixels)
Expand the bounding box to add some margins, in pixel size.
|
public Graphics2D graphics
public com.vividsolutions.jts.geom.util.AffineTransformation transform
public Graph graph
public com.vividsolutions.jts.geom.Envelope bbox
public double metersPerPixel
public int tileWidth
public int tileHeight
Copyright © 2018. All rights reserved.