Package mil.nga.gars.tile
Class TileDraw
java.lang.Object
mil.nga.gars.tile.TileDraw
Tile draw utilities for lines and labels
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Draw the labelstatic void
Draw the labels on the tilestatic void
Draw the lines on the tile
-
Constructor Details
-
TileDraw
public TileDraw()
-
-
Method Details
-
drawLines
Draw the lines on the tile- Parameters:
lines
- lines to drawtile
- tilegrid
- gridcanvas
- 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 drawbuffer
- grid zone edge buffertile
- tilecanvas
- draw canvaspaint
- label paint
-
drawLabel
public static void drawLabel(GridLabel label, double buffer, GridTile tile, Canvas canvas, Paint paint) Draw the label- Parameters:
label
- label to drawbuffer
- grid zone edge buffertile
- tilecanvas
- draw canvaspaint
- label paint
-