Class TileDraw

java.lang.Object
mil.nga.gars.tile.TileDraw

public class TileDraw extends Object
Tile draw utilities for lines and labels
  • Constructor Details

    • TileDraw

      public TileDraw()
  • Method Details

    • drawLines

      public static void drawLines(List<GridLine> lines, GridTile tile, Grid grid, Canvas canvas)
      Draw the lines on the tile
      Parameters:
      lines - lines to draw
      tile - tile
      grid - grid
      canvas - draw canvas
    • drawLabels

      public static void drawLabels(List<GridLabel> labels, double buffer, GridTile tile, Canvas canvas, Paint paint)
      Draw the labels on the tile
      Parameters:
      labels - labels to draw
      buffer - grid zone edge buffer
      tile - tile
      canvas - draw canvas
      paint - label paint
    • drawLabel

      public static void drawLabel(GridLabel label, double buffer, GridTile tile, Canvas canvas, Paint paint)
      Draw the label
      Parameters:
      label - label to draw
      buffer - grid zone edge buffer
      tile - tile
      canvas - draw canvas
      paint - label paint