Class FeatureTileCanvas
- java.lang.Object
-
- mil.nga.geopackage.tiles.features.FeatureTileCanvas
-
public class FeatureTileCanvas extends Object
Feature Tile Canvas for creating layered tiles to draw ordered features. Draw Order: polygons, lines, points, icons- Since:
- 3.2.0
-
-
Constructor Summary
Constructors Constructor Description FeatureTileCanvas(int tileWidth, int tileHeight)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitmapcreateBitmap()Create the final bitmap from the layers, resets the layersBitmapgetIconBitmap()Get the icon bitmapCanvasgetIconCanvas()Get the icon canvasBitmapgetLineBitmap()Get the line bitmapCanvasgetLineCanvas()Get the line canvasBitmapgetPointBitmap()Get the point bitmapCanvasgetPointCanvas()Get the point canvasBitmapgetPolygonBitmap()Get the polygon bitmapCanvasgetPolygonCanvas()Get the polygon canvasvoidrecycle()Recycle the layered bitmaps
-
-
-
Method Detail
-
getPolygonBitmap
public Bitmap getPolygonBitmap()
Get the polygon bitmap- Returns:
- polygon bitmap
-
getPolygonCanvas
public Canvas getPolygonCanvas()
Get the polygon canvas- Returns:
- polygon canvas
-
getLineBitmap
public Bitmap getLineBitmap()
Get the line bitmap- Returns:
- line bitmap
-
getLineCanvas
public Canvas getLineCanvas()
Get the line canvas- Returns:
- line canvas
-
getPointBitmap
public Bitmap getPointBitmap()
Get the point bitmap- Returns:
- point bitmap
-
getPointCanvas
public Canvas getPointCanvas()
Get the point canvas- Returns:
- point canvas
-
getIconBitmap
public Bitmap getIconBitmap()
Get the icon bitmap- Returns:
- icon bitmap
-
getIconCanvas
public Canvas getIconCanvas()
Get the icon canvas- Returns:
- icon canvas
-
createBitmap
public Bitmap createBitmap()
Create the final bitmap from the layers, resets the layers- Returns:
- bitmap
-
recycle
public void recycle()
Recycle the layered bitmaps
-
-