public abstract static class TileRenderer.TileRenderContext extends Object
Modifier and Type | Field and Description |
---|---|
org.locationtech.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
|
org.locationtech.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 org.locationtech.jts.geom.Envelope |
expandPixels(double marginXPixels,
double marginYPixels)
Expand the bounding box to add some margins, in pixel size.
|
public Graphics2D graphics
public org.locationtech.jts.geom.util.AffineTransformation transform
public Graph graph
public org.locationtech.jts.geom.Envelope bbox
public double metersPerPixel
public int tileWidth
public int tileHeight
Copyright © 2019. All rights reserved.