public class Graticule
extends java.lang.Object
Constructor and Description |
---|
Graticule(Projection proj) |
Modifier and Type | Method and Description |
---|---|
void |
addLine(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2) |
void |
addLine(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2,
int num) |
void |
addText(java.lang.String txt,
java.awt.geom.Point2D pt) |
void |
draw(java.awt.Graphics2D g,
ViewPortData vp) |
java.awt.Color |
getColor() |
void |
setColor(java.awt.Color color) |
public Graticule(Projection proj)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public void addLine(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
public void addLine(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2, int num)
public void addText(java.lang.String txt, java.awt.geom.Point2D pt)
public void draw(java.awt.Graphics2D g, ViewPortData vp)