Class 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 Detail

      • FeatureTileCanvas

        public FeatureTileCanvas​(int tileWidth,
                                 int tileHeight)
        Constructor
        Parameters:
        tileWidth - tile width
        tileHeight - tile height
    • 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