Package mil.nga.gars.tile
Class TileDraw
java.lang.Object
mil.nga.gars.tile.TileDraw
Tile draw utilities for lines and labels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDraw the labelstatic voidDraw the labels on the tilestatic voidDraw 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
-