Class FeatureTileCanvas
java.lang.Object
mil.nga.geopackage.tiles.features.FeatureTileCanvas
Feature Tile Canvas for creating layered tiles to draw ordered features.
Draw Order: polygons, lines, points, icons
- Since:
- 3.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate the final bitmap from the layers, resets the layersGet the icon bitmapGet the icon canvasGet the line bitmapGet the line canvasGet the point bitmapGet the point canvasGet the polygon bitmapGet the polygon canvasvoid
recycle()
Recycle the layered bitmaps
-
Constructor Details
-
FeatureTileCanvas
public FeatureTileCanvas(int tileWidth, int tileHeight) Constructor- Parameters:
tileWidth
- tile widthtileHeight
- tile height
-
-
Method Details
-
getPolygonBitmap
Get the polygon bitmap- Returns:
- polygon bitmap
-
getPolygonCanvas
Get the polygon canvas- Returns:
- polygon canvas
-
getLineBitmap
Get the line bitmap- Returns:
- line bitmap
-
getLineCanvas
Get the line canvas- Returns:
- line canvas
-
getPointBitmap
Get the point bitmap- Returns:
- point bitmap
-
getPointCanvas
Get the point canvas- Returns:
- point canvas
-
getIconBitmap
Get the icon bitmap- Returns:
- icon bitmap
-
getIconCanvas
Get the icon canvas- Returns:
- icon canvas
-
createBitmap
Create the final bitmap from the layers, resets the layers- Returns:
- bitmap
-
recycle
public void recycle()Recycle the layered bitmaps
-