Class TileRow

    • Constructor Detail

      • TileRow

        public TileRow​(TileRow tileRow)
        Copy Constructor
        Parameters:
        tileRow - tile row to copy
        Since:
        1.4.0
    • Method Detail

      • getZoomLevelColumnIndex

        public int getZoomLevelColumnIndex()
        Get the zoom level column index
        Returns:
        zoom level column index
      • getZoomLevelColumn

        public TileColumn getZoomLevelColumn()
        Get the zoom level column
        Returns:
        zoom level column
      • getZoomLevel

        public long getZoomLevel()
        Get the zoom level
        Returns:
        zoom level
      • setZoomLevel

        public void setZoomLevel​(long zoomLevel)
        Set the zoom level
        Parameters:
        zoomLevel - zoom level
      • getTileColumnColumnIndex

        public int getTileColumnColumnIndex()
        Get the tile column column index
        Returns:
        tile column column index
      • getTileColumnColumn

        public TileColumn getTileColumnColumn()
        Get the tile column column
        Returns:
        tile column column
      • getTileColumn

        public long getTileColumn()
        Get the tile column
        Returns:
        tile column
      • setTileColumn

        public void setTileColumn​(long tileColumn)
        Set the tile column
        Parameters:
        tileColumn - tile column
      • getTileRowColumnIndex

        public int getTileRowColumnIndex()
        Get the tile row column index
        Returns:
        tile row column index
      • getTileRowColumn

        public TileColumn getTileRowColumn()
        Get the tile row column
        Returns:
        tile column
      • getTileRow

        public long getTileRow()
        Get the tile row
        Returns:
        tile row
      • setTileRow

        public void setTileRow​(long tileRow)
        Set the tile row
        Parameters:
        tileRow - tile row
      • getTileDataColumnIndex

        public int getTileDataColumnIndex()
        Get the tile data column index
        Returns:
        tile data column index
      • getTileDataColumn

        public TileColumn getTileDataColumn()
        Get the tile data column
        Returns:
        tile data column
      • getTileData

        public byte[] getTileData()
        Get the tile data
        Returns:
        tile data bytes
      • setTileData

        public void setTileData​(byte[] tileData)
        Set the tile data
        Parameters:
        tileData - tile data bytes
      • getTileDataBitmap

        public Bitmap getTileDataBitmap()
        Get the tile data bitmap
        Returns:
        tile data bitmap
      • getTileDataBitmap

        public Bitmap getTileDataBitmap​(BitmapFactory.Options options)
        Get the tile data bitmap with decoding options
        Parameters:
        options - bitmap options
        Returns:
        tile data bitmap
      • setTileData

        public void setTileData​(Bitmap bitmap,
                                Bitmap.CompressFormat format)
                         throws IOException
        Set the tile data from a full quality bitmap
        Parameters:
        bitmap - tile bitmap
        format - compress format
        Throws:
        IOException - upon failure
      • setTileData

        public void setTileData​(Bitmap bitmap,
                                Bitmap.CompressFormat format,
                                int quality)
                         throws IOException
        Set the tile data from a bitmap
        Parameters:
        bitmap - tile bitmap
        format - compress format
        quality - quality
        Throws:
        IOException - upon failure
      • copy

        public TileRow copy()
        Copy the row
        Returns:
        row copy
        Since:
        3.0.1