public abstract static class TileRenderer.TileRenderContext extends Object
| Modifier and Type | Field and Description | 
|---|---|
| org.locationtech.jts.geom.Envelope | bboxBounding box of the rendered tile in WGS84 CRS, w/o margins | 
| Graph | graphThe graph being processed | 
| Graphics2D | graphicsGraphics where to paint tile to, in pixel CRS (no transform set) | 
| double | metersPerPixelGround pixel density inverse | 
| int | tileHeightTile size in pixels | 
| int | tileWidthTile size in pixels | 
| org.locationtech.jts.geom.util.AffineTransformation | transformThe 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.